* Problem compiling for PPC405 from Solaris: signal.h and sys/ucont ext.h
@ 2002-07-23 14:32 Creager, Robert S
2002-07-23 15:14 ` Problem compiling for PPC405 from Solaris: signal.h and sys/ucontext.h dank
0 siblings, 1 reply; 2+ messages in thread
From: Creager, Robert S @ 2002-07-23 14:32 UTC (permalink / raw)
To: 'crossgcc@sources.redhat.com'
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem compiling for PPC405 from Solaris: signal.h and sys/ucontext.h
2002-07-23 14:32 Problem compiling for PPC405 from Solaris: signal.h and sys/ucont ext.h Creager, Robert S
@ 2002-07-23 15:14 ` dank
0 siblings, 0 replies; 2+ messages in thread
From: dank @ 2002-07-23 15:14 UTC (permalink / raw)
To: Creager, Robert S; +Cc: 'crossgcc@sources.redhat.com'
"Creager, Robert S" wrote:
> 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
It's a bit of a pain, isn't it?
I think we work around that in http://www.kegel.com/xgcc3/
by building and installing glibc's headers before building gcc.
- Dan
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-23 22:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-23 14:32 Problem compiling for PPC405 from Solaris: signal.h and sys/ucont ext.h Creager, Robert S
2002-07-23 15:14 ` Problem compiling for PPC405 from Solaris: signal.h and sys/ucontext.h dank
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).