This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Gcc 3.2 compiler driver bug [UPDATE]


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/>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]