gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] Cygwin/Windows


From: Gaius Mulley
Subject: Re: [Gm2] Cygwin/Windows
Date: Thu, 17 Jan 2013 22:39:20 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Christoph Schlegel <address@hidden> writes:

> Hi,
>
> just want to report gm2 (gcc+gm2-latest) builds fine under Cygwin after 
> dirtily overriding two double definitions by temporarily commenting them out 
> in signal.h and string.h. There are problems (because of known difficulties 
> with fork() and Cygwin) running the tests (check-gm2). The process stopped 3 
> times, then suddenly succeeded (somehow):
>
>                 === gm2 Summary ===
>
> # of expected passes            9550
> # of unexpected failures        111
> # of unresolved testcases       85
> ../../gcc-4.1.2+gm2-20130107/gcc/gm2/Make-lang.in:2705: recipe for target 
> `check-gm2' failed
> make: [check-gm2] Error 1 (ignored)

Hi Christoph,

awesome work thanks!

> My system is Windows 7:
> $ uname -a
> CYGWIN_NT-6.1-WOW64 Christoph-THINK 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 
> Cygwin
>
> I uploaded a binary .zip archive:
> http://freepages.modula2.org/downloads/gm2.zip

super

> I have problems as soon as I don't use the standard library:
>
> address@hidden ~/search
> $ gm2 -g -flibs=logitech ./search.mod 
> failed to find definition module SYSTEM.def

ah you need to specify the pim libraries as well, so:

$ gm2 -g -flibs=logitech,pim ./search.mod 

the libs specifies the order

> address@hidden ~/search
> $ gm2 -g -flibs=ulm ./search.mod 
> failed to find definition module M2RTS.def

$ gm2 -g -flibs=ulm,pim ./search.mod 

> Do I have to add something?

The behaviour -flibs= changed so we now have to specify the order.
The pim libraries are the base so they have no dependencies on the other
library families.

Thanks for the binaries I'll update the documentation accordingly

regards,
Gaius



reply via email to

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