[M3devel] Couple of CM3 build comments (Solaris/SPARC).

Tony Hosking hosking at cs.purdue.edu
Thu Aug 16 15:34:51 CEST 2007


On Aug 16, 2007, at 3:03 AM, Olaf Wagner wrote:

> On Thu, August 16, 2007 07:37, Alex Bochannek wrote:
>> "Olaf Wagner" <wagner at elegosoft.com> writes:
>>
>>> Sounds like a good idea; we should probably add --disable-nls to
>>> our gcc configuration.
>>
>> If you want to build a SOLgnu installation archive, I would be  
>> happy to
>> test it.

I'm about to build from CVS head for SOLgnu today.  I will place a  
bootstrap compiler (front-end and back-end) on my ftp site in the  
usual place.

>> I have been looking at building CM3 on a recent RHEL-like Linux
>> distribution. It seems that for the 5.4.0 release, it will build and
>> ship if the two known issues are taken care of (the adm/ipc.h and the
>> LD_POINTER_GUARD).

I don't know how these issues relate to the CVS head, but I did  
successfully bootstrap CVS head yesterday.  The compiler pieces are  
in ftp://ftp.cs.purdue.edu/pub/hosking/m3/LINUXLIBC6, files cm3cg.gz  
and cm3.gz.

>>
>> However, to bootstrap a top-of-tree CVS checkout with the 5.4.0
>> installation archive seems to not be possible anymore. I followed the
>> email exchanges with Tony Hosking's suggested build steps and also  
>> made
>> the PTHREAD and GC related changes necessary to cm3.cfg. After  
>> numerous
>> errors due to what I think are the LONGINT changes, I gave up. I  
>> don't
>> really need these changes, but it looks like it might be time for
>> another release soon.

Indeed, to bootstrap from an *old* compiler that does not handle  
LONGINT, you will need to build and ship in the following order:

m3cc
m3middle
m3linker
m3front
m3quake
cm3

Now, using the *new* stage 1 cm3 you just built (cm3/TARGET/cm3) and  
clean sources you can build and ship:

m3core
libm3
m3middle
m3linker
m3front
m3quake
cm3

With this *new* stage 2 cm3 you should be ready to build the world.

> Sure, as soon as the LONGINT changes have settled, we'll provide some
> new installation archives.

Getting there...  We really need someone to work on the *native* x86  
backend m3back to smarten it up for LONGINT ... until then truly  
native Win32 support will be lacking (though it should be possible to  
build using the gcc-based backend, presumably installed and built  
using CygWin?).

> Stefan, could you add the --disable-nls to the gcc configuration and
> try to build a SOLgnu archive?

I'll put a SOLgnu bootstrap compiler built from the CVS head on my  
ftp site later today.

>
> Thanks,
>
> 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




More information about the M3devel mailing list