Can't build with cc on Solaris
Ian Lance Taylor
ian@zembu.com
Mon Apr 3 09:53:00 GMT 2000
From: Alexandre Oliva <aoliva@cygnus.com>
Date: 03 Apr 2000 02:35:33 -0300
binutils top-level configure passes --with-gnu-ld down to sub-projects
`configure' commands whenever it finds `ld' is going to be built.
I think that is a bug.
If you are doing a one-tree build with the binutils and gcc, then it
is appropriate to pass down --with-gnu-ld when building gcc.
However, I don't see why any of the binutils should be built with
--with-gnu-ld. --with-gnu-ld is an option which describes the build
environment. The fact that the GNU linker is being built says nothing
about whether it is being built with the GNU linker.
At the time I added the --with-gnu-ld option to the top level
configure, gcc was the only thing that cared about it.
So I think the correct fix for the binutils is to not pass down
--with-gnu-ld at all. If we want to continue to support one tree
builds, then we should only pass --with-gnu-ld to gcc and to
TARGET_CONFIGDIRS.
Ian
More information about the Binutils
mailing list