egcs1.1b (egcs-2.91.57): cpp missing predefine

Uwe Koloska koloska@Rcs1.urz.tu-dresden.de
Fri Nov 13 05:37:00 GMT 1998


Hello,
the cpp of i586-pc-linux-gnulibc1/egcs-2.91.57 has no standard define
"-Di386" that was needed for example by Imake.
It has to be in
	gcc/config/i386/linux.h
in the line
#define CPP_PREDEFINES "-D__ELF__ -Dunix -Dlinux -Asystem(posix)"

This line has to be
#define CPP_PREDEFINES "-Di386 -D__ELF__ -Dunix -Dlinux -Asystem(posix)"

I don't know who builds the specs file. But there the define has to be 
present in "*predefines:"-section. If it's there, the define is
present when invocing the cpp from gcc with "gcc -E"

Did the cpp read the specs???

With best wishes from Dresden
  Uwe Koloska

-- 
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
--                                    --
right now the web page is in german only
but this will change as time goes by ;-)



More information about the Gcc-bugs mailing list