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]

Re: gcj failure with powerpc-860 & gcc-4.0.0


Tim Hayman wrote:
That message talks about a similar problem but the fix (which is in
crosstool 0.34) didn't fix this problem because syscall.h is used to build
libjava, which occurs before the crosstool.sh fix is made.  I tried the
following quick patch to crosstool.sh, and it built successfully:

--- crosstool.sh.orig   2005-05-20 17:27:58.000000000 -0400
+++ crosstool.sh        2005-05-20 17:33:55.000000000 -0400
@@ -337,6 +337,7 @@
     # having a copy of stdio_lim.h... see
     # http://sources.redhat.com/ml/libc-alpha/2003-11/msg00045.html
     cp bits/stdio_lim.h $HEADERDIR/bits/stdio_lim.h
+    cp misc/syscall-list.h $HEADERDIR/bits/syscall.h

     cd ..
 fi

Oho! Thanks!


How twisty this all is.  It sure would be nice
to be able to build the C compiler, then the C
library, then the other languages and libraries,
all in a nice linear sequence.  Maybe they'll have
that sorted out for gcc-4.1.

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