problem about cross compiler!
VND Zhang ShaoBo
ShaoBo.Zhang@alcatel-sbell.com.cn
Sun Sep 22 18:24:00 GMT 2002
I am trying to build a cross-gcc which will allow me to compile vxworks
binaries on an i386 Linux (RedHat 7.1) host. i am using the gcc-2.95.1 ,
newlib-1.8.2 ,binutils-2.9.1. now ,i have finished the build of cross compiler
,when i compiler a program using the powerpc-eabi-gcc, there are an error as following:
powerpc-eabi-gcc -I/usr/local/src/gnu/newlib-1.8.2/newlib/libc/include -o hello\
hello.c
/usr/local/powerpc/powerpc-eabi/bin/ld: warning: cannot find entry symbol _start; defaulting to 01800074
/tmp/ccD5t0Jf.o: In function `main':
/tmp/ccD5t0Jf.o(.text+0x24): undefined reference to `printf'
collect2: ld returned 1 exit status
make: *** [hello] Error 1
It looks that my powerpc-eabi-gcc isn't practical . who can give me an advice how can slove this problem.
any information is apprecited.
thanks
shapi
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list