gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] (no subject)


From: Gaius Mulley
Subject: [Gm2] (no subject)
Date: Sat, 01 Oct 2005 01:37:48 +0100

address@hidden
Subject: Re: [Gm2] gm2 installation on Apple
References: <address@hidden>
        <address@hidden>
        <address@hidden>
        <address@hidden>
        <address@hidden>
From: Gaius Mulley <address@hidden>
Date: 01 Oct 2005 01:37:48 +0100
In-Reply-To: <address@hidden>
Message-ID: <address@hidden>
Lines: 89
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Michael H Lambert <address@hidden> writes:

> 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

Hi,

I've checked some more changes to gm2:

 * fixed bug in gm2/gm2-libs/FpuIO.mod so that the sign is
   not preprended to the string if the number is positive.
 * fixed gm2/gm2-libs-pim/Break.c to use HAVE_STDLIB_H and
   HAVE_MALLOC_H as detected by the configure script.
 * removed ulm-lib-gm2/std/MathLib.mod from the build
   process as a temporary work around to get gm2 working
   under opendarwin.

and given these changes gm2 appears to be building on OpenDarwin 7.2.1
x86, the final results of the regression tests are:

                === gm2 Summary ===

# of expected passes            2442
# of unexpected failures        6
# of unresolved testcases       3

which is currently the same as GNU/Linux x86 and Opteron Pure64 when
being build by a gcc-3.3.x series of gcc.  How does it fare on ppc
hardware? (I used gm2-harness-0.5 to build and run the tests),

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]