make not using correct LDFLAGS
Ian Lance Taylor
iant@google.com
Fri Jul 2 14:33:00 GMT 2010
Aaditya kumar <passion.for.systems@gmail.com> writes:
> But the build fails because make cant find those library
> (LDFLAGS is empty string in config.log in
> x86_64-unknown-linux-gnu/libgcc direcotry ).
> this is the same directory where the build fails.
LDFLAGS is used when building the tools. The error you are reporting
occurs when running the tools. The usual fixes are 1) set
LD_LIBRARY_PATH so that the dynamic libraries can be found at runtime;
2) adjust /etc/ld.so.conf for the same effect; 3) when you build the
supporting libraries, pass --disable-shared when you configure them.
Ian
More information about the Gcc-help
mailing list