<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV><FONT size=2>I'm using Cygwin32 on PC as host development environment and
</FONT></DIV>
<DIV><FONT size=2>MPC860 as target.</FONT></DIV>
<DIV><FONT size=2>When I try to build http sample under netdemos directory,
error</FONT></DIV>
<DIV><FONT size=2>message show below. After check the makefile, I find it
called</FONT></DIV>
<DIV><FONT size=2>"tar" command to convert index.html to tarfile. May be the tar
</FONT></DIV>
<DIV><FONT size=2>command will alwayes generate file in little-endian mode as
on</FONT></DIV>
<DIV><FONT size=2>Intel PC.</FONT></DIV>
<DIV><FONT size=2>What can I do with such error ?</FONT></DIV>
<DIV><FONT size=2>Is there any way to build the http sample under
</FONT><FONT size=2>Cygwin32 </FONT></DIV>
<DIV><FONT size=2>environment ?</FONT></DIV>
<DIV><FONT size=2>(The source files I used are
rtems-4.5.0-beta1b.tgz and</FONT></DIV>
<DIV><FONT size=2> netdemos-4.5.0-</FONT><FONT
size=2>beta1b.tgz)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Thanks in advance !</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Li HongSong</FONT></DIV>
<DIV> </DIV>
<DIV><FONT
size=2>==================================================================</FONT></DIV>
<DIV><FONT size=2>[administrator@NT_SRV http]$ make<BR>test -d o-optimize ||
mkdir o-optimize<BR>/opt/rtems/bin/powerpc-rtems-gcc --pipe
-B/opt/rtems//fads860/lib/ -specs bsp_sp<BR>ecs -qrtems -g -Wall -ansi
-fasm -O4 -fno-keep-inline-functions
-DPPC_ABI=<BR>PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF
-DPPC_VECTOR_FILE_BASE=0x00000000 -mcpu=860<BR> -c
-o o-optimize/init.o init.c<BR>init.c: In function `Init':<BR>init.c:76:
warning: implicit declaration of function `Untar_FromMemory'<BR>tar cf
o-optimize/tarfile index.html<BR>/opt/rtems/powerpc-rtems/bin/ld.exe -r -o
o-optimize/temp.o o-optimize/init.o -<BR>b binary
o-optimize/tarfile<BR>/opt/rtems/powerpc-rtems/bin/ld.exe: o-optimize/tarfile:
compiled for a little e<BR>ndian system and target is big endian<BR>File in
wrong format: failed to merge target specific data of file
o-optimize/ta<BR>rfile<BR>make: *** [o-optimize/http.exe] Error 1</FONT></DIV>
<DIV><FONT
size=2>==================================================================</FONT></DIV>
<DIV> </DIV></BODY></HTML>