[M3devel] Upgrade dependencies, was: Re: do-cm3.cmd for Windows

Jay K jay.krell at cornell.edu
Tue Jul 21 11:09:11 CEST 2009


also:

http://modula3.elegosoft.com/cgi-bin/cvsweb.cgi/cm3/m3-libs/libm3/src/os/POSIX/OSConfigPosix.m3.diff?r1=1.21;r2=1.22

 

a bunch of dead strings also removed..

 

There are references to the Compiler type in m3core.

 

C:\dev2\cm3.2\m3-libs\m3core\src\runtime\common\RTDebug.m3(9):  EOL = ARRAY Compiler.OS OF TEXT { "\n", "\r\n" }[ Compiler.ThisOS ];


C:\dev2\cm3.2\m3-libs\m3core\src\runtime\common\RuntimeError.m3(16):        self := LOOPHOLE (Compiler.ThisException(), RT0.ActivationPtr).exception;


I don't think these are problems, but agreed it is a little fragile.

The problem is presumably only present if Compiler.Platform or Compiler.ThisPlatform is referenced.

The first use breaks of OS = {Win32, Posix} grows, but that is also trivially fixed.

 

 - Jay

 


From: jay.krell at cornell.edu
To: wagner at elegosoft.com; m3devel at elegosoft.com
Date: Tue, 21 Jul 2009 09:02:00 +0000
Subject: Re: [M3devel] Upgrade dependencies, was: Re: do-cm3.cmd for Windows



I fixed that bug at least in libm3. The dependency was easily removed and very painful when present.
see:
http://modula3.elegosoft.com/cgi-bin/cvsweb.cgi/cm3/m3-libs/libm3/src/os/POSIX/m3makefile.diff?r1=1.8;r2=1.9
http://modula3.elegosoft.com/cgi-bin/cvsweb.cgi/cm3/m3-libs/libm3/src/os/POSIX/m3makefile.diff?r1=1.10;r2=1.11
 
Is there more of it?
I haven't see the error in a while. Coincidence?
I can test it out..
 
 - Jay
 
> Date: Tue, 21 Jul 2009 10:45:25 +0200
> From: wagner at elegosoft.com
> To: m3devel at elegosoft.com
> Subject: [M3devel] Upgrade dependencies, was: Re: do-cm3.cmd for Windows
> 
> Quoting jay.krell at cornell.edu:
> 
> > Upgrade skips m3core and libm3, builds up to cm3, copies cm3, then
> > clean and build in order from the bottom. You could say it starts after
> > libm3 or at sysutils, but there is also import-libs. In future if
> > released cm3 can build current m3core and libm3 then just build from
> > the bottom and on up, nothing tricky. Thinking about this now I think
> > we should have just done the trick once and then declared the resulting
> > cm3 as the baseline, instead of this 'institutionalization' of the
> > 'workaround' that seems to confuse everyone, and leaves compat hacks in
> > to deal with older releases. I think we should abandon 5.4 as a base
> > before this release so this can be cleaned up.
> 
> Jay, there is a subtle dependency between the platforms that are
> contained in cm3 and m3core. You cannot compile a newer m3core with
> a compiler that doesn't support new platforms. At least I am not aware
> that this dependency has been removed, or has it?
> 
> Please explain again in case I missed something.
> 
> Olaf
> -- 
> Olaf Wagner -- elego Software Solutions GmbH
> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95
> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20090721/50c3037c/attachment-0002.html>


More information about the M3devel mailing list