[M3devel] ARM_LINUX Bootstrap Compiler

Jay K jay.krell at cornell.edu
Mon Jun 22 18:07:55 CEST 2015


Please try the C backend? Like this: 

 Make sure *target* system has working cc/as/ld/make.   cd cm3/scripts/python      ./boot1.py ARM_LINUX c     You will get something like: cm3-boot-ARM_LINUX-d5.10.0-20150622.tar.gz   That works for me.    The tail will be replaced by time/date.   Copy that to the target, extract, cd, make.    See if ./cm3 then works. It should print an error, like:     -- building in I386_DARWIN ---    Fatal Error: duplicate unit: /cm3/pkg/m3core/src/C/Common/CerrnoC.c ../CerrnoC.c 

  and then, like, have Python installed, and:    mkdir /usr/local/cm3/bin   mv cm3 /usr/local/cm3/bin    export PATH=/usr/local/cm3/bin:$PATH     scripts/python/boot2.sh
 boot2.sh builds everything.

If target system doesn't have cc/as/ld/make, then you cantry using cross tools. Alter $PATH or edit the top of the generated Makefile.

And then you can use make-dist.py to build (again) and package everythingand upload that?

Thanks, - Jay 



> To: lists at darko.org
> Date: Mon, 22 Jun 2015 01:21:42 -0700
> From: mika at async.caltech.edu
> CC: m3devel at elegosoft.com
> Subject: Re: [M3devel] ARM_LINUX Bootstrap Compiler
> 
> I do have it for Raspberry Pi and BeagleBone Black.  Works great.
> 
> But I'll have to look for it.
> 
>     Mika
> 
> Darko Volaric writes:
> >--047d7b4140882fa505051912409b
> >Content-Type: text/plain; charset=UTF-8
> >
> >Does anyone have a working ARM_LINUX compiler they'd care to post? From the
> >list it does seem some people had it running.
> >
> >If so and you need somewhere to upload it
> >https://github.com/modula3/cm3/releases  is probably a good place.
> >
> >- Darko
> >
> >--047d7b4140882fa505051912409b
> >Content-Type: text/html; charset=UTF-8
> >Content-Transfer-Encoding: quoted-printable
> >
> ><div dir=3D"ltr">Does anyone have a working=C2=A0ARM_LINUX compiler they&#3=
> >9;d care to post? From the list it does seem some people had it running.<di=
> >v><br></div><div>If so and you need somewhere to upload it =C2=A0<a href=3D=
> >"https://github.com/modula3/cm3/releases">https://github.com/modula3/cm3/re=
> >leases</a> =C2=A0is probably a good place.</div><div><br></div><div>- Darko=
> ></div><div><br></div></div>
> >
> >--047d7b4140882fa505051912409b--
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20150622/245a1e51/attachment-0002.html>


More information about the M3devel mailing list