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] |
Sorry to bother you ! I have a qusetion to ask you about the cross compiler for powerpc. I want to build a cross compiler in linux for powerpc/vxworks. I download the binutils-2.9.1, gcc-2.95.1,newlib-1.8.2. I successful build the cross compiler powerpc-eabi-gcc as following: 1.build the binutils 2.build the gcc-2.95.1 to get powerpc-eabi-gcc 3.build the newlib using powerpc-eabi-gcc 4.rebuild the gcc-2.95.1 to get the powerpc-eabi-gcc then ,i program test program, but i met some error when i using the powerpc-eabi-gcc to build the test program the error is 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 Why have these errors? I don't slove this matter though i do my best. can you give me an advice? thanks! ------ 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] |