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] |
Hello, My host is a linux x86 RedHat machine. My Target is Linux PowerPC machine.
Now , I had followed the instructions on : http://penguinppc.org/embedded/cross-compiling/ the only diffference I had made was added the "--prefix=/opt/ppc" so that it will insatll it in a different directory (because I need also original binutil and gcc to compile for x86 linux targets).
what I did is : downloaded latest release tars of binutils and gcc.
for binutil: I created a toplevel build directory and from there:
./configure --target=powerpc-linux --prefix=/opt/ppc make make install
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi /home/sad/src/build-gcc/gcc/xgcc -B/home/sad/src/build-gcc/gcc/ -B/opt/ppc erpc-linux/bin/ -B/opt/ppc/powerpc-linux/lib/ -isystem /opt/ppc/powerpc-linu clude -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prot es -Wmissing-prototypes -isystem ./include -fPIC -g -DIN_LIBGCC2 -D__GCC_F _NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.3.2/gcc -I../../gcc-3.3.2/g -I../../gcc-3.3.2/gcc/config -I../../gcc-3.3.2/gcc/../include -fPIC -mstri lign -DL_muldi3 -c ../../gcc-3.3.2/gcc/libgcc2.c -o libgcc/./_muldi3.o In file included from tconfig.h:22, from ../../gcc-3.3.2/gcc/libgcc2.c:36: ../../gcc-3.3.2/gcc/config/rs6000/linux.h:89:20: signal.h: No such file or d tory In file included from tconfig.h:22, from ../../gcc-3.3.2/gcc/libgcc2.c:36: ../../gcc-3.3.2/gcc/config/rs6000/linux.h:98: error: parse error before "sta " ../../gcc-3.3.2/gcc/config/rs6000/linux.h:98: warning: no semicolon at end o ruct or union
regards sting
------ 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] |