Cannot build GDC 0.18 alpha

Brad Roberts braddr at puremagic.com
Fri Apr 14 21:38:15 PDT 2006


On Fri, 14 Apr 2006, Andrew Madigan wrote:

> I'm using the source from http://www.puremagic.com/~braddr/d/gdc/

That wasn't meant for public consumption, but whatever.

> I get the following error from make:
> 
> make[1]: Entering directory `/home/nnnnn/local/build/gcc-4.0.3/build/gcc'
> make[1]: *** No rule to make target `d/idgen.dmdgen.o', needed by `d/idgen'. 
> Stop.
> make[1]: Leaving directory `/home/nnnnn/local/build/gcc-4.0.3/build/gcc'

The same make logic is in 0.17, from d/Make-lang.in:

# Make these static because C++ shared libraries are not installed while
# bootstrapping.
d/impcvgen: d/impcnvgen.dmdgen.o
        $(CXX) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS) -o $@ $^
#hmm    $(CC) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS) -static -o $@ $^ -lstdc++
# -static 
d/idgen: d/idgen.dmdgen.o
        $(CXX) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS)  -o $@ $^
#argh "-static" wont' work on macosx...? what to do?
#hmm    $(CC) $(ALL_D_COMPILER_FLAGS) $(LDFLAGS) -static -o $@ $^ -lstdc++
d/impcnvtab.c: d/impcvgen
        cd d && ./impcvgen
d/id.c: d/idgen
        cd d && ./idgen
# idgen also generates id.h; just verify id.h exists
d/id.h: d/id.c
        @ ls d/id.h
=========================

Not sure what you're doing to trigger it.  It's not causing me any 
problems with 0.17 or 0.18.  How are you configuring gcc and how are you 
building it?

Later,
Brad



More information about the D.gnu mailing list