Successful installation of gcc-3.2.1 on darwin-6.2
cehoyos@rainbow.studorg.tuwien.ac.at
cehoyos@rainbow.studorg.tuwien.ac.at
Thu Nov 21 10:45:00 GMT 2002
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
More information about the Gcc
mailing list