I am using Linux Fedora 12, gcc 4.4.2. I watched the compiling process of a C program and the library search path for free-standing and hosted compilation was the same: LIBRARY_PATH=/usr/lib/gcc/i686-redhat-linux/4.4.2/:/usr/lib/gcc/i686-redhat-linux/4.4.2/:/usr/lib/gcc/i686-redhat-linux/4.4.2/../../../:/lib/:/usr/lib/ Why gcc continues to consider the default library search path?