[M3devel] CM3 5.9.0 - compilation problems on Fedora 16/AMD64

Jay K jay.krell at cornell.edu
Wed Apr 25 05:30:57 CEST 2012


The information is buried here:  http://modula3.elegosoft.com/cgi-bin/cvsweb.cgi/cm3/doc/notes/porting.txt?rev=1.6;content-type=text%2Fplain 
 - do a build of m3core, libm3, and the pieces that make up cm3, BUT stopping
   at the output of assembly -- not running the assembler and linker
   (scripts/python/boot1.py NEWTARGET)
 - package up (tar/gzip) the assembly files, as well as some .c files
   (done by boot1.py, sitting in the current working directory)
 - copy that to the target system (scp or ftp)
 - unpackage (untar/gzip)
 - cd step missing here 
 - make
 - giving us cm3
 - use that cm3 to then build the entire system on the new target
 missing instructions for the last step...but it is just to put cm3 in $PATH
  and run something in scripts...boot2.py maybe?


 - Jay

 > Date: Tue, 24 Apr 2012 20:18:09 +0100
> From: dabenavidesd at yahoo.es
> To: m3devel at elegosoft.com; dknoto at next.com.pl
> Subject: Re: [M3devel] CM3 5.9.0 - compilation problems on Fedora 16/AMD64
> 
> Hi all:
> I guess you are asking about how to produce a bootstrap image for cm3-min in LINUXAMD64, and the truth is that it uses the back-end for doing that but Jay knows the details.
> 
> The front end doesn't know too much about about machine itself (or tries to ignore it) which makes it more portable code though not easier, so all the details might be related with m3gcc
> 
> In any event, did you try the Fedora 16 package:
> http://pkgs.org/fedora-16/rpm-sphere-x86_64/cm3-5.8.6-11.1.x86_64.rpm.html
> 
> It has a cm3 image maybe you could just scripts/do-cm3-std.sh buildship
> 
> Thanks in advance
> 
> --- El mar, 24/4/12, Dariusz Knociński <dknoto at next.com.pl> escribió:
> 
> > De: Dariusz Knociński <dknoto at next.com.pl>
> > Asunto: [M3devel] CM3 5.9.0 - compilation problems on Fedora 16/AMD64
> > Para: m3devel at elegosoft.com
> > Fecha: martes, 24 de abril, 2012 13:28
> > Hello All,
> > I still have not resolved the problem of CM3 build from
> > source on Fedora 16
> > x86_64. However, I installed Ubuntu 12.04 Beta i686 in
> > VirtualBox and CM3
> > 5.9.0 2012/04/13 compilation went smoothly. So I wonder how
> > it compiles CM3 on
> > x86_64 architecture?
> > Best regards
> > Dariusz Knociński.
> > 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20120425/1d6861d9/attachment-0002.html>


More information about the M3devel mailing list