Aaditya kumar <passion.for.systems@xxxxxxxxx> 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