This is the mail archive of the gcc@gcc.gnu.org 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]

Successful installation of gcc-3.2.1 on darwin-6.2


I made a successful bootstrap of gcc-3.2.1 on a G3 PowerPC running OS X
10.2.2, cctools-435.obj~4, using the hint (#inlude runetype) from
http://gcc.gnu.org/ml/gcc/2002-08/msg01678.html
You have to repeat the bootstrap to succeed comparison.
The patch shown in
http://gcc.gnu.org/ml/gcc/2002-08/msg01681.html
did not help me.

Since I need gnu-runtime as default for ObjC, I changed line 73 of
gcc-3.2.1/gcc/config/darwin.h
to
#undef NEXT_OBJC_RUNTIME
To use the GNU ObjC runtime, you have to link:
ln -s libobjc.a libobjc.dylib
ObjC Threads work.

I tried to run the testsuite, but since each run shows different results,
and the selftests of expect and dejagnu did not succeed, I didn't send it.

$ gcc -v
Reading specs from
/usr/local/gcc-3.2.1/lib/gcc-lib/powerpc-apple-darwin6.1/3.2.1/specs
Configured with: ../gcc-3.2.1/configure --prefix=/usr/local/gcc-3.2.1
--enable-threads=posix
Thread model: posix
gcc version 3.2.1

$ uname -a
Darwin HOSTNAME 6.2 Darwin Kernel Version 6.2: Tue Nov  5 22:00:03 PST
2002; root:xnu/xnu-344.12.2.obj~1/RELEASE_PPC  Power Macintosh powerpc

Carl Eugen Hoyos


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