www.digitalmars.com         C & C++   DMDScript  

D.gnu - build error on MinGW

reply Valery <valery freesurf.fr> writes:
When I try to compile GDC on MinGW/MSYS, I get the following error :

gcc   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H 
-DGENERATOR_FILE  -o gengtype.exe \
  gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a
./gengtype
./input.h: No such file or directory
make[1]: *** [s-gtype] Error 1
make[1]: Leaving directory `/c/gdc/build/gcc'
make: *** [all-gcc] Error 2

What is that input.h file that is missing ?

Valéry
Jul 04 2005
parent reply David Friedman <d3rdclsmail_a_ _t_earthlink_d_._t_net> writes:
Valery wrote:
 When I try to compile GDC on MinGW/MSYS, I get the following error :
 
 gcc   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
 -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H 
 -DGENERATOR_FILE  -o gengtype.exe \
  gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a
 ./gengtype
 ./input.h: No such file or directory
 make[1]: *** [s-gtype] Error 1
 make[1]: Leaving directory `/c/gdc/build/gcc'
 make: *** [all-gcc] Error 2
 
 What is that input.h file that is missing ?
 
 Valéry

The file should be in <srcdir>/gcc. You might want to try building the compiler without gdc as a sanity check. David
Jul 05 2005
parent Valery <valery freesurf.fr> writes:
David Friedman a écrit :
 Valery wrote:
 
 When I try to compile GDC on MinGW/MSYS, I get the following error :

 gcc   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
 -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H 
 -DGENERATOR_FILE  -o gengtype.exe \
  gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a
 ./gengtype
 ./input.h: No such file or directory
 make[1]: *** [s-gtype] Error 1
 make[1]: Leaving directory `/c/gdc/build/gcc'
 make: *** [all-gcc] Error 2

 What is that input.h file that is missing ?

 Valéry

The file should be in <srcdir>/gcc. You might want to try building the compiler without gdc as a sanity check. David

Now that works and I can debug programs on Windows, thanks !
Jul 09 2005