Disabling fixincludes (was Re: Installing GCC-3.2 problem.)

Gerard Beekmans gerard at linuxfromscratch.org
Sat Sep 28 14:55:23 PDT 2002


On September 28, 2002 03:07 pm, Tushar Teredesai wrote:
> diff -uNr gcc-3.2.orig/gcc/Makefile.in gcc-3.2/gcc/Makefile.in
> --- gcc-3.2.orig/gcc/Makefile.in        2002-05-24 03:57:21.000000000 +1000
> +++ gcc-3.2/gcc/Makefile.in     2002-09-20 14:06:19.000000000 +1000
> @@ -2153,7 +2153,6 @@
>         (TARGET_MACHINE='$(target)'; srcdir=`cd $(srcdir); pwd`; \
>         SHELL='$(SHELL)' ;\
>         export TARGET_MACHINE srcdir SHELL ; \
> -       $(SHELL) ./fixinc.sh `pwd`/include $(SYSTEM_HEADER_DIR)
> $(OTHER_FIXINCLUDES_DIRS); \ rm -f include/syslimits.h; \
>         if [ -f include/limits.h ]; then \
>           mv include/limits.h include/syslimits.h; \

Okay this uploaded as 
ftp.linuxfromscratch.org/lfs-patches/gcc-nofixincludes.patch

I don't think we should add this patch to Chapter 6 though. If you ever 
reinstall GCC at a later time, it should be allowed to fix the system header 
files so the newer GCC can work on your system (though I agree it has no 
business working on host distro files when GCC isn't going to run on it).

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list