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 compiling for PPC405 from Solaris: signal.h and sys/ucontext.h


Having difficulty getting gcc cross compiled correctly.  I'm configuring
like:

creagrs@chaos:/proj/twolf/local/src/build-gcc-3.1.1-20020719-core-sol-powerp
c
% /proj/twolf/local/src/gcc-3.1.1-20020719/configure
--prefix=/proj/twolf/local --target=powerpc-linux --with-newlib
--with-cpu=405 --without-headers --disable-shared

% make -j 2 all-gcc

I've run through the archives, and am not the only one with this problem,
but have found no solutions (other than grabbing these files from a glibc
rpm file).

fails like:

/proj/twolf/local/src/build-gcc-3.1.1-20020719-core-sol-powerpc/gcc/xgcc
-B/proj/twolf/local/src/build-gcc-3.1.1-20020719-core-sol-powerpc/gcc/
-B/proj/twolf/local/powerpc-linux/bin/
-B/proj/twolf/local/powerpc-linux/lib/ -isystem
/proj/twolf/local/powerpc-linux/include -O2  -DIN_GCC -DCROSS_COMPILE   -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include  -fPIC -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc
-I. -I. -I/proj/twolf/local/src/gcc-3.1.1-20020719/gcc
-I/proj/twolf/local/src/gcc-3.1.1-20020719/gcc/.
-I/proj/twolf/local/src/gcc-3.1.1-20020719/gcc/config
-I/proj/twolf/local/src/gcc-3.1.1-20020719/gcc/../include  -fPIC
-mstrict-align -DL_negdi2 -c
/proj/twolf/local/src/gcc-3.1.1-20020719/gcc/libgcc2.c -o libgcc/./_negdi2.o
In file included from tconfig.h:21,
                 from
/proj/twolf/local/src/gcc-3.1.1-20020719/gcc/libgcc2.c:36:
/proj/twolf/local/src/gcc-3.1.1-20020719/gcc/config/rs6000/linux.h:81:20:
signal.h: No such file or directory
/proj/twolf/local/src/gcc-3.1.1-20020719/gcc/config/rs6000/linux.h:82:26:
sys/ucontext.h: No such file or directory
In file included from tconfig.h:21,
                 from
/proj/twolf/local/src/gcc-3.1.1-20020719/gcc/libgcc2.c:36:
/proj/twolf/local/src/gcc-3.1.1-20020719/gcc/config/rs6000/linux.h:81:20:
signal.h: No such file or directory
/proj/twolf/local/src/gcc-3.1.1-20020719/gcc/config/rs6000/linux.h:82:26:
sys/ucontext.h: No such file or directory
make[2]: *** [libgcc/./_negdi2.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory
`/proj/twolf/local/src/build-gcc-3.1.1-20020719-core-sol-powerpc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory
`/proj/twolf/local/src/build-gcc-3.1.1-20020719-core-sol-powerpc/gcc'
make: *** [all-gcc] Error 2

Robert Creager
Senior Software Engineer
ATS Library Engineering
303.673.2365 V
303.661.5379 F
888.912.4458 P
StorageTek
INFORMATION made POWERFUL



------
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]