ICA diff in cc1 and cc1plus

Dan Nicholson dbn.lists at gmail.com
Tue Mar 20 22:48:00 PDT 2007

On 3/20/07, Dan Nicholson <dbn.lists at gmail.com> wrote:
> Attached are two patches to add the glibc branch update patch in Ch. 5
> and force /usr/include to be used as the preferred system include
> directory after the toolchain re-adjustment.

I should mention that I changed the specs adjustment to use sed
because I don't really know perl. If anyone wants to keep it in perl,
feel free to provide the needed command. What's in the patch is this:

gcc -dumpspecs | sed \
    -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2 at g' \
    -e '/\*startfile_prefix_spec:/{n;s at .*@/usr/lib/ @}' \
    -e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' > \
    `dirname $(gcc --print-libgcc-file-name)`/specs


More information about the lfs-dev mailing list