LFS Version SVN-20060501 - GCC-4.0.3 - compilation fails

Dan Nicholson dbn.lists at gmail.com
Mon May 15 14:52:04 PDT 2006


On 5/15/06, Dan Nicholson <dbn.lists at gmail.com> wrote:
>
> $ /sources/gcc-build/gcc/xgcc -v dummy.c | grep include

I just figured out something simpler to see the header search path.
xgcc is just a frontend for the actual driver, cc1.  This guy actually
gets executed when compiling or preprocessing and seems to find the
headers for you.

Try this command

$ echo | /sources/gcc-build/gcc/cc1 -v

Should tell you where xgcc is looking for headers.

--
Dan



More information about the lfs-support mailing list