Mail Archives: djgpp/2015/05/18/12:09:50
> Date: Mon, 18 May 2015 18:22:35 +0300
> From: "Ozkan Sezer (sezeroz AT gmail DOT com)" <djgpp AT delorie DOT com>
>
> --- makefile.inc 30 Apr 2015 18:50:42 -0000 1.16
> +++ makefile.inc 18 May 2015 15:15:30 -0000
> @@ -51,7 +51,7 @@
>
> # Find GCC own include directory and add it to CFLAGS
> GCC_INC_DIR := $(shell $(CROSS_GCC) -print-file-name=include)
> -CFLAGS += -I$(GCC_INC_DIR)
> +#CFLAGS += -I$(GCC_INC_DIR)
>
> # Pass defines as compiler/assembler switches
> CFLAGS += -DGAS_MAJOR=$(GAS_MAJOR)
>
> Now do a make clean, recompile and compare the old and new strtod.d:
>
> --- strtod.d.bak
> +++ strtod.d
> @@ -1,7 +1,6 @@
> strtod.o: strtod.c ../../../../include/libc/stubs.h \
> ../../../../include/locale.h ../../../../include/math.h \
> ../../../../include/stdlib.h ../../../../include/sys/djtypes.h \
> - /usr/local/cross-djgpp/lib/gcc/i586-pc-msdosdjgpp/3.4.6/include/float.h \
> ../../../../include/float.h ../../../../include/errno.h \
> ../../../../include/ctype.h ../../../../include/inlines/ctype.ha \
> ../../../../include/inlines/ctype.hp \
>
> As you see, -nostdinc does prevent compiler's own headers from being
> used. But with current cvs as it is, we are telling the compiler to
> do use its own headers: Not a good idea IMO.
Are you sure the compiler doesn't use that header when it sees
"-nostdinc"? Could it be that it just doesn't put that header into
the dependencies?
- Raw text -