[M3devel] Help finding CM3 compiler for Linux?

Mika Nystrom mika at async.caltech.edu
Wed Apr 1 18:59:45 CEST 2009


I have to say that once I figured out what I needed to do, using
Jay's distributions was easy---easier than I'm used to with CM3.

All I had to do was: untar the -std dist (forget the min one).

Set PATH and LD_LIBRARY_PATH

And then---the mysterious part, which takes more than passing knowledge
of how CM3 works---providing a cm3.cfg file, which doesn't seem to be
provided at all by Jay's archive.

It seems to me it would be quite easy to package this up, maybe even
with cminstall?  That would be easiest I think, to cminstall the whole
dist rather than cminstalling just the -min and then making people build
their own compiler, libraries, and demo apps...

     Mika

Jay writes:
>--_bffd762c-5e48-4bab-ae69-e6ec348c2ed8_
>Content-Type: text/plain; charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
>
>Olaf=2C in the LINUXLIBC6 configuration=2C try putting --32 on the as/gas i=
>nvocations.
>
>You mentioned --32 on cm3=2C but I wonder if you meant -m32 on cm3.
>
> cm3 -m32=20
>
> as --32=20
>
>=20
>
>or check the man pages or help. They aren't consistent=2C for more reasons =
>than shown here (e.g. MIPS has -mabi64=2C and I think AIX has something els=
>e=2C and HP-UX gcc supports none of these -- no bi-arch support).
>
>=20
>
> > probably be easiest to use a real 32 bit system and start from 5.4.0
> > again.
>
>
>Using any current system should be plenty easy too.
>
>e.g. the distributions I put up. :)
>
>=20
>
>AMD64_LINUX should be a good starting point=2C but I haven't tried it in a =
>bit.
>
>=20
>
>I should be able to build a current LINUXLIBC6 very very soon.
>
>I guess I can install FreeBSD 7.1..which I'd been meaning to anyway to test=
> a switch to the "new" Unix *.i3 files.
>
>=20
>
>I'll be using python/make-dist.py though.
>
>I do need to get more packages into it though=2C e.g. cm3ide and m3gdb.
>
>=20
>
> - Jay
>=20
>> Date: Wed=2C 1 Apr 2009 11:11:53 +0200
>> From: wagner at elegosoft.com
>> To: m3devel at elegosoft.com
>> CC: mand at elego.de=3B m3-support at elego.de
>> Subject: Re: [M3devel] Help finding CM3 compiler for Linux?
>>=20
>> Quoting Mika Nystrom <mika at async.caltech.edu>:
>>=20
>> >
>> > Is there any documentation for this format beyond what you just
>> > wrote? Where?
>>=20
>> Well=2C yes=2C that's the problem with these kinds of archives:
>>=20
>> (1) they're not well tested and
>> (2) there's no documentation user's can rely on
>>=20
>> This doesn't mean that I disapprove or want to criticise the contributors=
>=2C
>> but an official well-documented release with installation notes etc.
>> has some advantages. Unfortunately=2C the official releases are really
>> outdated now.
>>=20
>> I succeeded in building current AMD64_LINUX and FreeBSD4 installations
>> on our servers for d5.7.1 tonight and was able to build archives for
>> FreeBSD binaries and sources=2C but the tooling failed for AMD64_KINUX
>> due to changed and missing configuration files. I'll need to have a
>> closer look at that=2C some extensions seem to be needed. Anybody who
>> feels he can do that faster than me is of course encouraged (I'll have
>> little time as usual :-/).
>>=20
>> It may also turn out to be difficult to produce LINUXLIBC6 binaries=2C
>> as birch and other Elego servers are now 64 bit machines=2C and trying
>> to use current CM3 with --32 produced lots of assembler errors about
>> unsupported instructions on this architecture. As the old installation
>> on birch seems to be gone without a chance of being restored=2C it will
>> probably be easiest to use a real 32 bit system and start from 5.4.0
>> again.
>>=20
>> Anybody who wants to help should be able to build the binary
>> archives for LINUXLIBC with cm3/scripts/make-bin-dist-min.sh
>> easily and upload them to birch at
>>=20
>> /var/www/modula3.elegosoft.com/cm3/uploaded-archives
>>=20
>> My guess is that tinderbox will take some time to run smoothly again=2C
>> as it was highly customized=2C and I'm not sure if these customizations
>> survied the crash.
>>=20
>> Please stay tuned and thanks for all your patience=2C
>>=20
>> Olaf
>> --=20
>> Olaf Wagner -- elego Software Solutions GmbH
>> Gustav-Meyer-Allee 25 / Geb=E4ude 12=2C 13355 Berlin=2C Germany
>> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 9=
>5
>> http://www.elegosoft.com | Gesch=E4ftsf=FChrer: Olaf Wagner | Sitz: Berli=
>n
>> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214=
>194
>>=20
>
>--_bffd762c-5e48-4bab-ae69-e6ec348c2ed8_
>Content-Type: text/html; charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
><html>
><head>
><style>
>.hmmessage P
>{
margin:0px=3B
>padding:0px
>}
>body.hmmessage
>{
>font-size: 10pt=3B
>font-family:Verdana
>}
></style>
></head>
><body class=3D'hmmessage'>
>Olaf=2C in the LINUXLIBC6 configuration=2C try putting --32 on the as/gas i=
>nvocations.<BR>
>You mentioned --32 on cm3=2C but I wonder if you meant -m32 on cm3.<BR>
>&nbsp=3Bcm3 -m32 <BR>
>&nbsp=3Bas --32 <BR>
>&nbsp=3B<BR>
>or check the man pages or help. They aren't consistent=2C for more reasons =
>than shown here (e.g. MIPS has -mabi64=2C and I think AIX has something els=
>e=2C and HP-UX gcc supports none of these -- no bi-arch support).<BR>
>&nbsp=3B<BR>
>&nbsp=3B&gt=3B probably be easiest to use a real 32 bit system and start fr=
>om 5.4.0<BR>&nbsp=3B&gt=3B again.<BR><BR>
>Using any current system should be plenty easy too.<BR>
>e.g. the distributions I put up. :)<BR>
>&nbsp=3B<BR>
>AMD64_LINUX should be a good starting point=2C but I haven't tried it in a =
>bit.<BR>
>&nbsp=3B<BR>
>I should be able to build a current LINUXLIBC6 very very soon.<BR>
>I guess I can install FreeBSD 7.1..which I'd been meaning to anyway to test=
> a switch to the "new" Unix *.i3 files.<BR>
>&nbsp=3B<BR>
>I'll be using python/make-dist.py though.<BR>
>I do need to get more packages into it though=2C e.g. cm3ide and m3gdb.<BR>
>&nbsp=3B<BR>
>&nbsp=3B- Jay<BR>&nbsp=3B<BR>&gt=3B Date: Wed=2C 1 Apr 2009 11:11:53 +0200<=
>BR>&gt=3B From: wagner at elegosoft.com<BR>&gt=3B To: m3devel at elegosoft.com<BR=
>>&gt=3B CC: mand at elego.de=3B m3-support at elego.de<BR>&gt=3B Subject: Re: [M3=
>devel] Help finding CM3 compiler for Linux?<BR>&gt=3B <BR>&gt=3B Quoting Mi=
>ka Nystrom &lt=3Bmika at async.caltech.edu&gt=3B:<BR>&gt=3B <BR>&gt=3B &gt=3B<=
>BR>&gt=3B &gt=3B Is there any documentation for this format beyond what you=
> just<BR>&gt=3B &gt=3B wrote? Where?<BR>&gt=3B <BR>&gt=3B Well=2C yes=2C th=
>at's the problem with these kinds of archives:<BR>&gt=3B <BR>&gt=3B (1) the=
>y're not well tested and<BR>&gt=3B (2) there's no documentation user's can =
>rely on<BR>&gt=3B <BR>&gt=3B This doesn't mean that I disapprove or want to=
> criticise the contributors=2C<BR>&gt=3B but an official well-documented re=
>lease with installation notes etc.<BR>&gt=3B has some advantages. Unfortuna=
>tely=2C the official releases are really<BR>&gt=3B outdated now.<BR>&gt=3B =
><BR>&gt=3B I succeeded in building current AMD64_LINUX and FreeBSD4 install=
>ations<BR>&gt=3B on our servers for d5.7.1 tonight and was able to build ar=
>chives for<BR>&gt=3B FreeBSD binaries and sources=2C but the tooling failed=
> for AMD64_KINUX<BR>&gt=3B due to changed and missing configuration files. =
I'll need to have a<BR>&gt=3B closer look at that=2C some extensions seem t=
>o be needed. Anybody who<BR>&gt=3B feels he can do that faster than me is o=
>f course encouraged (I'll have<BR>&gt=3B little time as usual :-/).<BR>&gt=
>=3B <BR>&gt=3B It may also turn out to be difficult to produce LINUXLIBC6 b=
>inaries=2C<BR>&gt=3B as birch and other Elego servers are now 64 bit machin=
>es=2C and trying<BR>&gt=3B to use current CM3 with --32 produced lots of as=
>sembler errors about<BR>&gt=3B unsupported instructions on this architectur=
>e. As the old installation<BR>&gt=3B on birch seems to be gone without a ch=
>ance of being restored=2C it will<BR>&gt=3B probably be easiest to use a re=
>al 32 bit system and start from 5.4.0<BR>&gt=3B again.<BR>&gt=3B <BR>&gt=3B=
> Anybody who wants to help should be able to build the binary<BR>&gt=3B arc=
>hives for LINUXLIBC with cm3/scripts/make-bin-dist-min.sh<BR>&gt=3B easily =
>and upload them to birch at<BR>&gt=3B <BR>&gt=3B /var/www/modula3.elegosoft=
>.com/cm3/uploaded-archives<BR>&gt=3B <BR>&gt=3B My guess is that tinderbox =
>will take some time to run smoothly again=2C<BR>&gt=3B as it was highly cus=
>tomized=2C and I'm not sure if these customizations<BR>&gt=3B survied the c=
>rash.<BR>&gt=3B <BR>&gt=3B Please stay tuned and thanks for all your patien=
>ce=2C<BR>&gt=3B <BR>&gt=3B Olaf<BR>&gt=3B -- <BR>&gt=3B Olaf Wagner -- eleg=
>o Software Solutions GmbH<BR>&gt=3B Gustav-Meyer-Allee 25 / Geb=E4ude 12=2C=
> 13355 Berlin=2C Germany<BR>&gt=3B phone: +49 30 23 45 86 96 mobile: +49 17=
>7 2345 869 fax: +49 30 23 45 86 95<BR>&gt=3B http://www.elegosoft.com | Ges=
>ch=E4ftsf=FChrer: Olaf Wagner | Sitz: Berlin<BR>&gt=3B Handelregister: Amts=
>gericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194<BR>&gt=3B <BR></bo=
>dy>
></html>=
>
>--_bffd762c-5e48-4bab-ae69-e6ec348c2ed8_--



More information about the M3devel mailing list