This is the mail archive of the mailing list for the GCC project.

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: GCC 4.0 build fails on Mac OS X 10.3.9/Darwin kernel 7.9

James E Wilson <> wrote:

Andrew Pinski wrote:
Does anyone read the installation instructions?

Yes, but not everyone. And even people that read the docs can miss the info if they can't figure out which part of the docs they are supposed to be looking at.

If you don't want people sending bug reports like this, then you idiot proof it by adding a configure test. Maybe even something like the attached.
Jim Wilson, GNU Tools Support,
Index: config.gcc
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.529
diff -p -r1.529 config.gcc
*** config.gcc 4 Apr 2005 17:18:49 -0000 1.529
--- config.gcc 22 Apr 2005 07:44:06 -0000
*************** case ${target} in
*** 366,371 ****
--- 366,377 ----
case ${enable_threads} in
"" | yes | posix) thread_file='posix' ;;
+ # Verify the cctools version number.
+ cctools=`cat /dev/null | as -v 2>&1 | grep cctools-576`

not quite right. It is completely sufficient to have something equal or above cctools-528 for building gcc-4.0:

cctools-576 are only needed to build HEAD: :

"It's not necessary to upgrade cctools to use 4.0, since the features that need the cctools fixes aren't there."

And btw.: cctools-576 have a bug which causes regressions if you want to use the FSF Objective-C runtime:

+ if test x"$cctools" = x; then
+ echo "*** Please update cctools version from ftp site." >&2
+ exit 1
+ fi
*-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
# This is the place-holder for the generic a.out configuration

greets, Lars

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]