successful bootstrap/install of gcc-4.0-20041003 on Mac OS X 10.2.8 (powerpc-apple-darwin6.8)

Lars Sonchocky-Helldorf lars.sonchocky-helldorf@hamburg.de
Sun Oct 10 01:57:00 GMT 2004


The system:
===========

uname -a
Darwin Lars-Sonchocky-Helldorfs-Computer.local. 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

gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1493)


Prerequisites:
==============

# install new cctools

# according to http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00104.html
# newer cctools are needed to build HEAD of gcc

download ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.dmg ,  
mount and install it using the graphical installer.

Bootstrapped like:
==================

# bootstrap the compiler

# note: those STAGE1_CFLAGS are needed to avoid
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14780

ftp  
ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20041003/gcc-4.0- 
20041003.tar.bz2
openssl md5 gcc-4.0-20041003.tar.bz2
bunzip2 gcc-4.0-20041003.tar.bz2
tar -xf gcc-4.0-20041003.tar
mkdir gcc-build
cd gcc-build/
../gcc-4.0-20041003/configure --prefix=/tmp/gcc
make bootstrap STAGE1_CFLAGS="-no-cpp-precomp -Wa,-force_cpusubtype_ALL"
sudo make install
cd ..


Result of bootstrap:
====================

The following languages have been built: c,c++,java,objc

bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17222 seems to be fixed

/tmp/gcc/bin/gcc -v
Lese Spezifikationen von  
/private/tmp/gcc/bin/../lib/gcc/powerpc-apple-darwin6.8/4.0.0/specs
Konfiguriert mit: ../gcc-4.0-20041003/configure --prefix=/tmp/gcc
Thread-Modell: posix
gcc-Version 4.0.0 20041003 (experimental)

When I figure out how to install dejagnu on Mac OS X 10.2.x / Darwin  
6.x I'll testing the result with make -k check in my build directory
and post the results later.


regards, Lars



More information about the Gcc mailing list