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]

Built gcc 3.4.0 for MacOS X 10.2.8

As requested in the GCC Installation guide, here is a report from
installing on previously-untested OS.

GCC 3.4.0 was built on a MacOS X 10.2.8 system.  uname -a reports
Darwin 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC  Power Macintosh powerpc

config.guess reports

gcc -v reports
  Reading specs from /usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.0/specs
  Configured with: ../gcc-3.4.0/configure --enable-languages=c,c++,f77,java,objc
  Thread model: posix
  gcc version 3.4.0

As noted, this was configured for all languages except ada.

This was bootstrapped from the Apple (developer) version of gcc 3.1:
  Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
  Thread model: posix
  Apple Computer, Inc. GCC version 1151, based on gcc version 3.1 20020420 (prerelease)

There were two problems with the installation:
1)  HAVE_SYS_RESOURCE_H was set wrong by config.  This system does have
    a sys/resource.h file.  I made a brute force modification, commenting
    out the relevant "#ifdef" and "#endif" in three files:
      ggc-common.c    toplev.c    gcc.c

2)  Testing for a PCH compiler to build libstdc++-v3 did not complete
    overnight (12 hours) -- particularly the call at line 4974 in
    libstdc++-v3/configure.  Commented out the entire "if" structure
    at that point, and forced glibcxx_cv_prog_CXX_pch=no.


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