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]


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 :

configure:2273: gcc -o conftest -g -O2 -L/sw/sostrovs/99th/lib -liberty
conftest.c  1>&5
/tmp/ccmLf9ow.o: In function `main':
/sw/sostrovs/100th/Build/binutils-build/libiberty/configure:2270: undefined

reference to `mkstemps'
collect2: ld returned 1 exit status
configure: failed program was:

As I figured ( see my previous mail ) linker options given to gcc are
discarded when
used _before_ file name.
Therefore I can't pass parameters to autotools - generated configuration
scripts.

Regards,

Sergey Ostrovsky.



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