[M3devel] I386_OPENBSD uploaded-archives

Jay jay.krell at cornell.edu
Thu Jan 1 20:45:44 CET 2009


What do you mean by "bootstrap binaries"?
 
There are a variety of ways to get a usable system.
 
 
There is http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-boot-I386_OPENBSD-1.tar.gz
  extract it  (tar zxf ...) 
  cd into it  (cd ...) 
  add -lm and -lpthread to the link line  
  make  
  mkdir -p /usr/local/cm3/bin   
  mv cm3 /usr/local/cm3/bin  
  export PATH=$PATH:/usr/local/cm3/bin  
  export CM3_ROOT=/usr/src/cm3   or whatever  
  export CVSROOT=:ext:stefan at m3.elegosoft.com:/usr/cvs  
  cvs -z3 checkout cm3 
  cd /usr/src/scripts/python 
  ./do-cm3-front.py buildship 
  
OR get http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-min-I386_OPENBSD-d5.7.0.tar.lzma
  cd /usr/local 
  rm -rf cm3 
  lzcat cm3-min-I386_OPENBSD-d5.7.0.tar.lzma | tar xf -
  mv cm3-min-I386_OPENBSD-d5.7.0 cm3 
  or get the much larger .tar.gz file and usr zcat instead of lzcat   
  get the source 
  cd /usr/src/scripts/python
  ./do-cm3-all.py realclean && ./upgrade.py && ./do-cm3-std.py buildshipd 
 
 
OR get http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-std-I386_OPENBSD-d5.7.0.tar.lzma
 
 
and not much need to build anything, but a good test to see if it is working, can follow the same instructions as for "min", it will rebuild stuff you already have.
 
OR go to some other system, and
  cd $CVSROOT/m3-sys/m3cc 
  cm3 -DM3CC_TARGET=I386_OPENBSD 
  cd $CVSROOT/scripts/python 
 NOTE you'll either have loosen file system privileges or /slightly/ change the code. For easy of finding it, I put the output at the root of my drive/volume/namespace. I should probably change that to be in /tmp.
  ./boot1.py I386_OPENBSD 
This gives you /cm3-boot-I386_OPENBSD-1.tar.gz (and /cm3-boot-I386_OPENBSD-1, but again, I should move these to "temp"), which you ftp or rcp or scp or whatever to the I386_OPENBSD machine and pick up at the first set of steps -- that's how I get new platforms working, though sometimes you can cheat on "biarch" systems, e.g. you can bring up AMD64_LINUX via LINUXLIBC6, just on one machine, no need to copy across machines and can skip the "boot" process and build more in one step, AMD64_FREEBSD via FreeBSD4, etc..))
 
 
 
 - Jay> Date: Thu, 1 Jan 2009 12:41:39 +0100> From: stsp at elego.de> To: jay.krell at cornell.edu> CC: m3devel at elegosoft.com> Subject: Re: I386_OPENBSD uploaded-archives> > On Thu, Jan 01, 2009 at 08:51:00AM +0000, Jay wrote:> > > > Stefan, Please try> > [1]http://modula3.elegosoft.com/cm3/uploaded-archives/.> > There are std and min archives there now.> > I haven't yet run X or tests, but the system is self hosting -- it> > builds itself.> > Let us know how it goes.> > Where are the bootstrap binaries?> > Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20090101/995dc713/attachment-0002.html>


More information about the M3devel mailing list