Le 03/08/2011 20:37, Jeff Squyres a écrit :
>
> Shouldn't you pass the same LDFLAGS to configure as to make?  

I'd be happy if it worked :)
Actually, I'd be even more happy if Pavel didn't have to do this to
build a fully-static orted.

> I.e., if you tell configure "configure it <this> way" but then you tell make 
> "build it <that> way", I'm not surprised that it doesn't work.  Left hand not 
> talking to the right hand and all that.
>
> Shouldn't you instead do:
>
>    ./configure --enable-static --disable-shared \
>       LDFLAGS="-static -all-static all"
>    make -j 8
>
> That being said, I don't seem to have a version of gcc that supports 
> -all-static, so I can't test this myself...

>From what I understand, -all-static is a libtool option only. Passing
LDFLAGS=-all-static to configure makes it pass -all-static to gcc, which
fails here too.

Brice

Reply via email to