Bruce,
   While bootstrapping darwin without the SDK (aka /usr/include) being present 
in /,
I discovered the latent defect that fixincludes/fixinc.in doesn't honor the use 
of the
--with-sysroot configure option and blindly uses the headers in /usr/include.
The code in fixincludes needs some mechanism to obtain the DIR passed to
configure's --with-sysroot option and, if that configure option was used, the
hardcoded /usr/include in fixinclude/fixincl.in needs to use DIR/usr/include
instead at...

# # # # # # # # # # # # # # # # # # # # #
#
#  Search each input directory for broken header files.
#  This loop ends near the end of the file.
#
if test $# -eq 0
then
    INPUTLIST="/usr/include"
else
    INPUTLIST="$@"
fi

Currently I am forced to manually patch fixincludes/fixinc.in to have the DIR 
passed to
--with-sysroot honored during the bootstrap. Thanks in advance for any help in 
getting
this oversight in fixincludes fixed for gcc 4.9.
            Jack

Reply via email to