This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.1.1 Build Problem
- From: Hugh Sasse Staff Elec Eng <hgs at dmu dot ac dot uk>
- To: Emil Block <blime at his dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 30 Jul 2002 16:03:57 +0100 (BST)
- Subject: Re: GCC 3.1.1 Build Problem
On Tue, 30 Jul 2002, Emil Block wrote:
>
> I am getting the following error message during the build of GCC 3.1.1, and
> need some help identifying the problem. The configure results are attached.
>
> -isystem /usr/local/sparc-sun-solaris2.7/include -m64" "LD=/usr/ccs/bin/ld"
I think this is your problem. You need to build the latest binutils
first, this will give you gnu-as and gnu-ld.
Next time you configure DON'T use --with-gnu-as and --with-gnu-ld;
DO use
configure --with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld
with the correct path to configure, gnu ld and gnu as.
If you don't do this then the Java build will
insist on finding /usr/ccs/bin/as and will fail because it won't
accept the right options.
>
>
> Emil Block
HTH
Hugh