[m-dev.] for review: compile in hlc.gc using MSVC

Peter Ross peter.ross at miscrit.be
Tue Jun 13 18:18:19 AEST 2000


Will do
----- Original Message -----
From: "Fergus Henderson" <fjh at cs.mu.OZ.AU>
To: <mercury-developers at cs.mu.OZ.AU>
Sent: Saturday, June 10, 2000 1:16 AM
Subject: Re: [m-dev.] for review: compile in hlc.gc using MSVC


> On 07-Jun-2000, Peter Ross <petdr at cs.mu.OZ.AU> wrote:
> > This bootchecks in the grade hlc.gc using gcc under Linux.
> > I will check this in sometime tomorrow, unless I hear any major
> > objections.
> >
> > scripts/Mmake.rules:
> >     Use /Fo instead of -o to generate .o files if compiling with MSVC.
>
> Pete, this change broke things for dec-alpha-osf3.2
> (murlibobo).  From the nightly test logs:
>
> MERCURY_ALL_C_INCL_DIRS=" -I../runtime -I../boehm_gc -I../boehm_gc/include
" ../scripts/mgnuc
> --grade asm_fast.gc    --no-ansi    -g     -c
mercury_accurate_gc.c -omercury_accurate_gc.o
> ...
> mips-tfile:mercury_accurate_gc.o: No such file or directory
> gmake[1]: *** [mercury_accurate_gc.o] Error 1
>
> Could you please fix it?
>
> I'm not sure exactly what the problem is, but my first guess is that it
may be that
> you need to use "-o foo.o" rather than "-ofoo.o".
>
> (Note that getting trailing spaces in a Mmakefile is a little
> tricky; you may need to use something like
>
> empty=
> OBJFILE_OPT=@OBJFILE_OPT@$(empty)
>
> in Mmake.vars.in to prevent GNU Make from stripping the trailing space
> in OBJFILE_OPT.)
>
> --
> Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the
pursuit
> WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
> PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
> --------------------------------------------------------------------------
> mercury-developers mailing list
> Post messages to:       mercury-developers at cs.mu.oz.au
> Administrative Queries: owner-mercury-developers at cs.mu.oz.au
> Subscriptions:          mercury-developers-request at cs.mu.oz.au
> --------------------------------------------------------------------------

--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list