| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| I'm looking for a Modula-2 compiler for my N800. It uses the 330 MHZ TI OMAP 2420 processor (basically, an ARM processor) and a GNU/Linux OS. Does anyone have any idea where I might be able find a suitable compiler, or have any recommendations on the best resource for guiding me in creating my own? -- Terry "qnr" Ross | http://www.aliboom.com 1024D/E5796C4D | Key BE84 EC1D FC94 D97B 9063 AD15 0F38 193A E579 6C4D Source Mage GNU/Linux http://www.sourcemage.org |
|
#2
| |||
| |||
| On 2007-09-27, Terry Ross <terry@aliboom.com> wrote: > anyone have any idea where I might be able find a suitable compiler, or > have any recommendations on the best resource for guiding me in creating > my own? 1. GNU Modula2. 2. Add Modula2 dialect to Free Pascal :-) |
|
#3
| |||
| |||
| On Thu, 27 Sep 2007 20:52:00 +0000, Marco van de Voort wrote: > On 2007-09-27, Terry Ross <terry@aliboom.com> wrote: >> anyone have any idea where I might be able find a suitable compiler, or >> have any recommendations on the best resource for guiding me in creating >> my own? > > 1. GNU Modula2. > 2. Add Modula2 dialect to Free Pascal :-) Hmmmm... ok. I knew I could cross-compile to the ARM, didn't know that I could actually use the compiler on the machine itself. Thanks. -- Terry "qnr" Ross | http://www.aliboom.com 1024D/E5796C4D | Key BE84 EC1D FC94 D97B 9063 AD15 0F38 193A E579 6C4D Source Mage GNU/Linux http://www.sourcemage.org |
|
#4
| |||
| |||
| On 2007-09-28, Terry Ross <terry@aliboom.com> wrote: > On Thu, 27 Sep 2007 20:52:00 +0000, Marco van de Voort wrote: > >> On 2007-09-27, Terry Ross <terry@aliboom.com> wrote: >>> anyone have any idea where I might be able find a suitable compiler, or >>> have any recommendations on the best resource for guiding me in creating >>> my own? >> >> 1. GNU Modula2. >> 2. Add Modula2 dialect to Free Pascal :-) > > Hmmmm... ok. I knew I could cross-compile to the ARM, didn't know that I > could actually use the compiler on the machine itself. My bad. I meant they could be starting points, no guarantees that it actually works. I can confirm that FPC works on ARM (little endian, the more common variety) natively. And I also see no reasons why GNU M2 couldn't. |
|
#5
| |||
| |||
| Marco van de Voort <marcov@stack.nl> writes: > On 2007-09-28, Terry Ross <terry@aliboom.com> wrote: > > On Thu, 27 Sep 2007 20:52:00 +0000, Marco van de Voort wrote: > > > >> On 2007-09-27, Terry Ross <terry@aliboom.com> wrote: > >>> anyone have any idea where I might be able find a suitable compiler, or > >>> have any recommendations on the best resource for guiding me in creating > >>> my own? > >> > >> 1. GNU Modula2. > >> 2. Add Modula2 dialect to Free Pascal :-) > > > > Hmmmm... ok. I knew I could cross-compile to the ARM, didn't know that I > > could actually use the compiler on the machine itself. > > My bad. I meant they could be starting points, no guarantees that it > actually works. > > I can confirm that FPC works on ARM (little endian, the more common variety) > natively. And I also see no reasons why GNU M2 couldn't. Hi, yes GNU M2 should be able to do this - it could a couple of releases ago and now it is supporting more esoteric cross compilation platforms (Atmega8). I'll have a go at producing a gm2-arm cross compiler .deb package. Out of interest what package format (rpm, deb, other) does your (GNU/Linux) phone use? regards, Gaius |
|
#6
| |||
| |||
| On 2007-10-04, Gaius Mulley <gaius@glam.ac.uk> wrote: > > yes GNU M2 should be able to do this - it could a couple of releases > ago and now it is supporting more esoteric cross compilation platforms > (Atmega8). I'll have a go at producing a gm2-arm cross compiler .deb > package. Out of interest what package format (rpm, deb, other) does > your (GNU/Linux) phone use? (if that is to me, at the busiest time, Zaurus with OpenZaurus at the time. Now PocketPC 2003 (WinCE) on ipaq) |
|
#7
| |||
| |||
| Marco van de Voort <marcov@stack.nl> writes: > On 2007-10-04, Gaius Mulley <gaius@glam.ac.uk> wrote: > > > > yes GNU M2 should be able to do this - it could a couple of releases > > ago and now it is supporting more esoteric cross compilation platforms > > (Atmega8). I'll have a go at producing a gm2-arm cross compiler .deb > > package. Out of interest what package format (rpm, deb, other) does > > your (GNU/Linux) phone use? > > (if that is to me, at the busiest time, Zaurus with OpenZaurus at the time. > Now PocketPC 2003 (WinCE) on ipaq) Hi Marco, ok thanks - actually I (incorrectly followed up) was wondering about Terry's Nokia N800. Although I built gm2 a cross compiler for my iPAQ a couple of years ago (running 'familiar'). I guess producing a .deb/.rpm package for gm2 as an arm cross compiler might be potentially useful for both iPAQ and N800. I've someone enquiring about an arm cross compiler at work - so I think its time to kill a few birds with a single stone. regards, Gaius |
|
#8
| |||
| |||
| On Thu, 04 Oct 2007 19:08:57 +0100, Gaius Mulley wrote: [snipped] > > Hi, > > yes GNU M2 should be able to do this - it could a couple of releases > ago and now it is supporting more esoteric cross compilation platforms > (Atmega8). I'll have a go at producing a gm2-arm cross compiler .deb > package. Out of interest what package format (rpm, deb, other) does > your (GNU/Linux) phone use? > > regards, > Gaius Hi Gaius, It uses .deb packages. Actually, even though it's a Nokia, and it has Skype, it's not primarily a phone, but an ultra-micro Linux handheld. A cross compiler would be great! Though I'd really like one where I could compile on the machine at home, to keep myself occupied while my wife is busy at appointments or shopping. Currently, I generate the code on the N800, then use ssh to compile it on one of my desktop machines (which is where the cross compilation would be nice, since naturally, that compiles for my desktop). Terry -- Terry "qnr" Ross | http://www.aliboom.com 1024D/E5796C4D | Key BE84 EC1D FC94 D97B 9063 AD15 0F38 193A E579 6C4D Source Mage GNU/Linux http://www.sourcemage.org |
|
#9
| |||
| |||
| On Thu, 04 Oct 2007 19:08:57 +0100, Gaius Mulley wrote: > > Hi, > > yes GNU M2 should be able to do this - it could a couple of releases > ago and now it is supporting more esoteric cross compilation platforms > (Atmega8). I'll have a go at producing a gm2-arm cross compiler .deb > package. Out of interest what package format (rpm, deb, other) does > your (GNU/Linux) phone use? > > regards, > Gaius Oops, I replied to the wrong post, the previous one should have been a follow-up here. Terry -- Terry "qnr" Ross | http://www.aliboom.com 1024D/E5796C4D | Key BE84 EC1D FC94 D97B 9063 AD15 0F38 193A E579 6C4D Source Mage GNU/Linux http://www.sourcemage.org |
|
#10
| |||
| |||
| Terry Ross <terry@aliboom.com> writes: > On Thu, 04 Oct 2007 19:08:57 +0100, Gaius Mulley wrote: > > [snipped] > > > > Hi, > > > > yes GNU M2 should be able to do this - it could a couple of releases > > ago and now it is supporting more esoteric cross compilation platforms > > (Atmega8). I'll have a go at producing a gm2-arm cross compiler .deb > > package. Out of interest what package format (rpm, deb, other) does > > your (GNU/Linux) phone use? > > > > regards, > > Gaius > > Hi Gaius, > > It uses .deb packages. Actually, even though it's a Nokia, and it has > Skype, it's not primarily a phone, but an ultra-micro Linux handheld. A > cross compiler would be great! Though I'd really like one where I could > compile on the machine at home, to keep myself occupied while my wife is > busy at appointments or shopping. Currently, I generate the code on the > N800, then use ssh to compile it on one of my desktop machines (which is > where the cross compilation would be nice, since naturally, that compiles > for my desktop). > > Terry Hi Terry, ok, if you have a Debian based GNU/Linux and have 50 Mb spare disk space and you have an /etc/apt/sources.list which points to an http (or ftp) server. Then you should be able to: # apt-get install gcc bison flex then you might be able to download gm2 and build it using: wget http://floppsie.comp.glam.ac.uk/down...0070818.tar.gz as a normal user: tar zxf gcc-4.1.2*z mkdir build cd build ../gcc-4.1.2+gm2-20070818/configure --disable-multilib \ --enable-languages=c,gm2 --enable-checking=all --prefix=$HOME/opt su make install (hopefully at this point you would have a 'gm2' executable in your path). Obviously you could remove the build and source tree to free up valuable space.. regards, Gaius |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.