<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
You have a working C compiler on it?<BR>
 <BR>
 <BR>
Does 2.6 have pthreads?<BR>
Our userthreads won't work on 2.6 at least for a small reason, maybe for larger reasons.<BR>
  (makecontext in 2.8 and some versions of 2.9 have the stack direction wrong;<BR>
  we could easily enough make our code work on those I think)<BR>
 <BR>
 <BR>
There's a problem in head on sparc.<BR>
   Been a while, sorry. I do need to look into it.<BR>
 <BR>
 <BR>
Try the release branch?<BR>
 <BR>
 <BR>
Go to any working machine -- any machine with cm3. Preferably a fast one.<BR>
And it should have Python.<BR>
 <BR>
 <BR>
 cd scripts/python<BR>
 ./boot1.py SOLgnu<BR>
 wait a bit, it's not fast because the first thing it does is build a cross cm3cg.<BR>
 ls *.tar.gz *tgz<BR>
 make some guesses and attempts <BR>
  ok -- copy the *gz to the Solaris 2.6 machine <BR>
   extract it <BR>
   cd into it <BR>
   look at the top of Makefile, see if it is sane<BR>
   make <BR>
   ./cm3<BR>
  If it says "can't find cm3.cfg", good, proceed...<BR>
  If it doesn't say that, bad, go back and debug...<BR>
  "proceed": I use python/boot2.sh, but with only 64MB.. the backend won't compile in 128MB..<BR>
  Canadian cross might do. There is clearly an intent for it to work but I haven't used it much.<BR>
   You'd likely need to work out other cross issues -- get a working cross gcc in the usual way..<BR>
 <BR>
 <BR>
This machine is probably intolerably slow, to me.<BR>
Even though I did use machines with much less memory.<BR>
Get me ssh access, I might might might might might look.<BR>
 <BR>
 <BR>
If 2.6 doesn't have pthreads, or adequate pthreads, you'd need to hack on it<BR>
to use the Sun threads or userthreads, neither is particularly automatic.<BR>
Both are probably possible.<BR>
 <BR>
 <BR>
 <BR>
     <BR>
 - Jay<BR><BR> <BR>
> From: mark@wickensonline.co.uk<BR>> To: m3devel@elegosoft.com<BR>> Date: Thu, 2 Sep 2010 19:29:32 +0100<BR>> Subject: [M3devel] CM3 on Solaris 2.6/GNU<BR>> <BR>> Hi guys,<BR>> <BR>> My conquest of Modula-3 on old hardware has started once again now that<BR>> I have Solaris 2.6 running on the SPARCbook 3. What would be my options<BR>> for getting it on there? The machine has 64 MB of RAM and a few hundred<BR>> MB of disk space - is it going to have to be a cross-compile, if<BR>> anything?<BR>> <BR>> Cheers, Mark.<BR>> <BR>                                          </body>
</html>