This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc standard libraries and freestanding mode
- From: ali hagigat <hagigatali at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 14 Dec 2010 11:22:42 +0330
- Subject: gcc standard libraries and freestanding mode
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?