This is the mail archive of the gcc-help@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: make not using correct LDFLAGS


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


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