This is the mail archive of the
mailing list for the GCC project.
Re: g77 Build Problems
- To: Stan Shebs <shebs at apple dot com>
- Subject: Re: g77 Build Problems
- From: Martin Costabel <costabel at wanadoo dot fr>
- Date: Wed, 02 May 2001 21:56:58 +0200
- CC: "Henry B. Hotz" <hotz at jpl dot nasa dot gov>, Toon Moene <toon at moene dot indiv dot nluug dot nl>, darwin-development at lists dot apple dot com, gcc at gcc dot gnu dot org
- References: <200104301920.f3UJKdG02293@lists.apple.com> <firstname.lastname@example.org> <3AEE47E8.CB9C0B45@moene.indiv.nluug.nl> <email@example.com> <3AEF5EC7.9365E84C@apple.com>
Stan Shebs wrote:
> Several people have gotten g77 to go, there were several
> reports in April.
I succeeded now, too, but only after banging my head against so many
walls that I cannot say any more what was the decisive step to make it
work (well, sort of work).
In addition to what has been said before (thanks to Logan Donaldson, in
particular), I had to do the following:
- Get crt0.o from /usr/local/lib in darwin (I don't have darwin
installed, but I have it as a disk image) and put it into /usr/local/lib
- get processor_facilities.h and put it into
This file is necessary, but for some strange reason NOT contained in the
architecture module that one gets from Apple's anoncvs. It is contined
in Logan's architecture tgz and also in the darwin-1.3.1 disk image.
I got the cvs sources with the sticky date 2001.04.18.22.00.00, except
the file gcc/config/rs6000/rs6000.md, where I checked out the latest
version. It then compiles (make all-libiberty; cd gcc; make bootstrap; cd
..; make all-target-libg2c plus make install in several subdirectories).
There remains one problem: The created gcc uses built-in specs that are
completely off-base: Whereas I configured with --prefix=/usr/local, and
everything installs correctly into
/usr/local/lib/gcc-lib/powerpc-apple-darwin1.3.2/3.1/ etc, gcc looks
elsewhere for its libraries and doesn't find them:
martinc% gcc -v
Using builtin specs.
Configured with: ../Sources/gnu-cvs-gcc/configure : (reconfigured) :
(reconfigured) ../Sources/gnu-cvs-gcc/configure --prefix=/usr/local
gcc version 3.1 20010418 (experimental)
martinc% gcc -print-search-dirs
There is NO /usr/libexec/powerpc-apple-darwin1.3.2, and in fact most of
these directories don't exist on my system.
Where do these absurd built-in specs come from, how can they be changed,
and why doesn't gcc use a specs file?