This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Gcc 3.2 compiler driver bug [UPDATE]
- From: Russ Allbery <rra at stanford dot edu>
- To: Sergey Ostrovsky <sostrovs at kns dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 10 Sep 2002 12:27:42 -0700
- Subject: Re: Gcc 3.2 compiler driver bug [UPDATE]
- Organization: The Eyrie
- References: <3D7CF2BD.9E873844@eng.kns.com> <3D7E0A0F.15F3B73F@eng.kns.com>
Sergey Ostrovsky <sostrovs@kns.com> writes:
> Just to make clear I'm talking about important stuff :
> when configuring binutils I got
> checking for mkstemps... no
> Then I re-ran ./confugure with [CPP,LD]FLAGS="-L/sw/sostrovs/99th/lib
> -liberty"
> It didn't help either. A snippet from
> ..../binutils-build/libiberty/config.log :
You're using LDFLAGS incorrectly, which is why you're encountering this
problem. LDFLAGS is *only* for -L flags and similar sorts of things; all
-l flags specifying libraries should be in LIBS instead.
Try ./configure LDFLAGS="-L/sw/sostrovs/99th/lib" LIBS="-liberty". I
think you'll find that it works much better.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>