[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] gm2 Cygwin port
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] gm2 Cygwin port |
Date: |
04 Jun 2004 09:32:23 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Hi,
oops, the fix should use `./xgm2' rather than `$(GCC_FOR_TARGET)'
Ie for a better fix you could replace the rule in
gcc-3.3.3/gcc/gm2/Make-lang.in
--------------------------------------
gm2/gm2-compiler/gm2.a: build-compiler
cd gm2 ; \
../$(M2LINK) -s -exit -main gccgm2front
../$(srcdir)/gm2/init/gm2-gccinit ; \
mv mod_init.c gm2-compiler
$(GCC_FOR_TARGET) -c -g gm2/gm2-compiler/mod_init.c -o
gm2/gm2-compiler/mod_init.o
$(AR_FOR_TARGET) cr $@ gm2/gm2-compiler/mod_init.o
$(GM2-COMP-MODS:%.mod=gm2/gm2-compiler/%.o) \
gm2/gm2-compiler/M2Version.o \
$(GM2-AUTO-MODS:%.mod=gm2/gm2-compiler/%.o)
if $(RANLIB_TEST_FOR_TARGET) ; then $(RANLIB) $@ ; else true ; fi
--------------------------------------
with
--------------------------------------
gm2/gm2-compiler/gm2.a: build-compiler ./xgm2
cd gm2 ; \
../$(M2LINK) -s -exit -main gccgm2front
../$(srcdir)/gm2/init/gm2-gccinit ; \
mv mod_init.c gm2-compiler
$(GCC_FOR_TARGET) -c -g gm2/gm2-compiler/mod_init.c -o
gm2/gm2-compiler/mod_init.o
$(AR_FOR_TARGET) cr $@ gm2/gm2-compiler/mod_init.o
$(GM2-COMP-MODS:%.mod=gm2/gm2-compiler/%.o) \
gm2/gm2-compiler/M2Version.o \
$(GM2-AUTO-MODS:%.mod=gm2/gm2-compiler/%.o)
if $(RANLIB_TEST_FOR_TARGET) ; then $(RANLIB) $@ ; else true ; fi
Gaius
Re: [Gm2] gm2 Cygwin port, Gaius Mulley, 2004/06/07