This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problem about cross compiler!


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]