[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] gm2 installation on Apple
From: |
Michael H Lambert |
Subject: |
Re: [Gm2] gm2 installation on Apple |
Date: |
Thu, 29 Sep 2005 23:04:52 -0400 |
Thomas,
Here are diffs for gm2/Make-lang.in:
==========
lambert% diff -u Make-lang.in.dist Make-lang.in
--- Make-lang.in.dist 2005-09-27 06:34:38.000000000 -0400
+++ Make-lang.in 2005-09-29 21:27:15.000000000 -0400
@@ -607,17 +607,17 @@
# end here
stage3/gm2/cc1gm2$(exeext): stage2/gm2/cc1gm2$(exeext) gm2/gm2-
compiler-paranoid/m2flex.o \
- $(P) $(GM2_OBJS) $(BACKEND) $(LIBDEPS) $
(GM2_LIBS_PARANOID) $(LIBS)
+ $(P) $(GM2_OBJS) $(BACKEND) $(LIBDEPS) $
(GM2_LIBS_PARANOID)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(GM2_OBJS) $
(GM2_LIBS_PARANOID) \
gm2/gm2-compiler-paranoid/m2flex.o $
(BACKEND) $(LIBS)
stage2/gm2/cc1gm2$(exeext): stage1/gm2/cc1gm2$(exeext) gm2/gm2-
compiler/m2flex.o $(P) \
- $(GM2_OBJS) $(BACKEND) $(LIBDEPS) $
(GM2_LIBS) $(LIBS)
+ $(GM2_OBJS) $(BACKEND) $(LIBDEPS) $
(GM2_LIBS)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(GM2_OBJS) $(GM2_LIBS) \
gm2/gm2-compiler/m2flex.o $(BACKEND) $
(LIBS)
stage1/gm2/cc1gm2$(exeext): $(GM2_DIRS) $(GM2)$(exeext) gm2/gm2-
compiler-boot/m2flex.o \
- $(P) $(GM2_OBJS) $(BACKEND) $(LIBDEPS) $
(GM2_LIBS_BOOT) $(LIBS)
+ $(P) $(GM2_OBJS) $(BACKEND) $(LIBDEPS) $
(GM2_LIBS_BOOT)
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(GM2_OBJS) $
(GM2_LIBS_BOOT) \
gm2/gm2-compiler-boot/m2flex.o $
(BACKEND) $(LIBS)
==========
In short, $(LIBS) needs to be in the link but not in the dependencies.
Michael
On 29 Sep 2005, at 22:45, Thomas Ahn wrote:
Michael,
I tried to install it on OS 10.3.9 and the _toupper problem is
obviously resolved. However I ran into the problem below. It seems
you had a similar problem, however I don't understand enough to fix
it myself. What do you mean by "I also had to remove $(LIBS) from
the dependency for stage1/gm2/cc1gm2$(exeext)" and how can I fix it?
Thomas