you are absolutely correct; I didn't set the environment variables on static library. I have added shared library path and it now compiles faultlessly. thank you for the help. In case anyone searches this problem, what I did was : $ export LD_LIBRARY_PATH=/usr/local/lib where /usr/local/lib is where my static libraries are located. -- View this message in context: http://gcc.1065356.n5.nabble.com/missing-xgcc-input-in-compiling-gcc-4-7-0-tp917425p917480.html Sent from the gcc - Help mailing list archive at Nabble.com.