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] |
Dan Kegel wrote: >Or are you particularly devoted to your existing compiler? >- Dan My existing "cygwin to ppc linux cross-compiler" is proven to produce working runnable on my PQ2FADS-VR code, particularly: 1)U-boot 2)Linux 2.6.8-rc4 MPC82xxx kernel 3)Lmbench I would much prefer to build the board "native" compiler using the same proven cross-compiler ... Additionally, I think it would enhance the "crosstool" if it would be able to handle such cases of Canadian Crosscompile (building the "latest" version of "native" gnu compiler using existing "older version" of "build" gnu cross-compiler). I feel that I need to explain, why I need to produce the "native" compiler on the embedded board (which sound odd ... ). My "end ;-)" goal "now" is to build and run (on the board) the "Cerberus Test Control System", which uses perl (which, as I have already found, is difficult to crosscompile - so I would like to build it "natively"). At last (but not the least), the "Cerberus Test Control System" itself directly employs native compiling as a way of "test load" the processor ... Dan - where, in your opinion, I should seek help on resolving my current issue ? Thanks (as always !), Best Regards, Alex ************************************* Alexander Povolotsky wrote: > TARGET_CPU_DEFAULT="" \ > HEADERS="ansidecl.h" DEFINES="" \ > /bin/sh /cygdrive/d/Profiles/apovolot/crosstool/crosstool-0.28-rc36/build/powerp > c-860-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/mkconfig.sh tconfig.h > echo '#define FLOAT' > fp-bit.c > cat /cygdrive/d/Profiles/apovolot/crosstool/crosstool-0.28-rc36/build/powerpc-86 > 0-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/config/fp-bit.c >> fp-bit.c > cat /cygdrive/d/Profiles/apovolot/crosstool/crosstool-0.28-rc36/build/powerpc-86 > 0-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/config/fp-bit.c > dp-bit.c > powerpc-860-linux-gnu-gcc -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-string > s -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./in > clude -I. -I. -I/cygdrive/d/Profiles/apovolot/crosstool/crosstool-0.28-rc36/bui > ld/powerpc-860-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc -I/cygdrive/d/Profi > les/apovolot/crosstool/crosstool-0.28-rc36/build/powerpc-860-linux-gnu/gcc-3.4.1 > -glibc-2.3.3/gcc-3.4.1/gcc/. -I/cygdrive/d/Profiles/apovolot/crosstool/crosstool > -0.28-rc36/build/powerpc-860-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/../in > clude -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno- > zero-initialized-in-bss -fno-unit-at-a-time -msdata=none \ > -Dinhibit_libc -c /cygdrive/d/Profiles/apovolot/crosstool/crosstool-0.28-rc36/ > build/powerpc-860-linux-gnu/gcc-3.4.1-glibc-2.3.3/gcc-3.4.1/gcc/crtstuff.c -DCRT > _BEGIN \ > -o crtbegin.o > cc1: error: unrecognized option `-Wold-style-definition' > cc1: error: unrecognized option `-fno-unit-at-a-time' > make[1]: *** [crtbegin.o] Error 1 > make[1]: Leaving directory `/cygdrive/d/Profiles/apovolot/crosstool/crosstool-0. > 28-rc36/build/powerpc-860-linux-gnu/gcc-3.4.1-glibc-2.3.3/build-gcc-core/gcc' > make: *** [all-gcc] Error 2 I don't fully understand gcc's build process, but I get the feeling that you might be better off building the crosscompiler with crosstool using the same sources as you plan to build the target compiler with. That should certainly get around this problem. Or are you particularly devoted to your existing compiler? - Dan ________________________________________________________________ Get your name as your email address. Includes spam protection, 1GB storage, no ads and more Only $1.99/ month - visit http://www.mysite.com/name today! ------ 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] |