[M3devel] CM3 on IA64?

Jay K jay.krell at cornell.edu
Tue Oct 4 22:57:12 CEST 2011


Sorry. More/correct instruction:

 Don't set any CM3 environment variables. 
 Just make sure some cm3 is in $PATH. 
 Go to a machine with a working cm3. Windows probably not preferred, but it might work. 
 On that machine run that script. 
  It may or may not work. 
  If it doesn't work, the errors shouldn't be terrible. You should investigate them. Report them here if stumped (or if you progress). 
  Once it works, you'll have like cm3-IA64_LINUX-timestamp.tar.gz. 
  You copy that .tar.gz to your Linux/ia64 machine.  (I use scp.) 
  tar xfz it. 
  cd cm3-IA64-LINUX-timestamp 
  make  
  Which may or may not work, but should make a lot of progress. 
    Once that works, well..more later. It is a major step, but there is a little more to do. 
  You might have to edit the top of the Makefile. 


 I can predict where the problems will be, but let's see how it goes with minimum hinting from me, ok? 
 You are signed up to waste time, right? :) 


 Let us know, and please don't give up quickly, thank you,
  - Jay




> From: mark at wickensonline.co.uk
> To: jay.krell at cornell.edu
> Date: Tue, 4 Oct 2011 19:06:44 +0100
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] CM3 on IA64?
> 
> Jay,
> 
> I tried this:
> 
> msw at zx6000 /usr/local/cm3-build/cm3/scripts/python $ echo $CM3_INSTALL
> /usr/local/cm3-build/cm3/
> 
> msw at zx6000 /usr/local/cm3-build/cm3/scripts/python $ ./boot1.py
> IA64_LINUXTraceback (most recent call last):
>   File "./boot1.py", line 5, in <module>
>     import pylib
>   File "/usr/local/cm3-build/cm3/scripts/python/pylib.py", line 569, in
> <module>
>     for a in os.popen(CM3 + " -version 2>/dev/null"):
> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
> 
> Am I missing the executable 'cm3'?
> 
> Mark.
> 
> 
> On Tue, 2011-10-04 at 01:06 +0000, Jay K wrote:
> > Can you give me or any of us ssh access to it?
> > 
> > 
> > Porting is much much easier these days.
> > Really, it is not difficult.
> > If gcc supports the target and the target is reasonably Posix
> > compliant, there is almost nothing to do.
> > These are both true for Linux/ia64.
> > 
> > 
> > Can you try?
> > 
> > 
> > See
> > http://modula3.elegosoft.com/cgi-bin/cvsweb.cgi/cm3/doc/notes/porting.txt?rev=1.6;content-type=text%2Fplain
> > 
> > 
> > or just go ahead and
> > 
> > 
> >   cd scripts/python  
> >   ./bootstrap.py IA64_LINUX  
> > 
> > 
> > It *might* just work.
> > It will certainly almost work.
> > There is really very little to it.
> > There never was a whole lot really, but there is a lot less now.
> > A big part used to be rewriting /usr/include in Modula-3, which was
> > tedious, error-prone, and unsafe.
> > That is gone now.
> > Before pthreads, another part was dissecting jmpbuf.
> > That is gone now -- even for user threads.
> > 
> > 
> >  - Jay
> > 
> > > Date: Mon, 3 Oct 2011 23:18:17 +0100
> > > From: mark at wickensonline.co.uk
> > > To: m3devel at elegosoft.com
> > > Subject: [M3devel] CM3 on IA64?
> > > 
> > > Hi guys,
> > > 
> > > Has anyone attempted a port of CM3 to Itanium architecture?
> > > I've recently installed gentoo on my ZX6000 and it's all running
> > very 
> > > nicely.
> > > My thoughts turned to what would be involved in getting Modula-3
> > running.
> > > 
> > > Kind regards, Mark.
> > > 
> > 
> 
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20111004/1cdd2cf3/attachment-0002.html>


More information about the M3devel mailing list