www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

D.gnu - build error on MinGW

↑ ↓ ← 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
↑ ↓ 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
↑ ↓ → 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