GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #13455

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: The Chief
Subject: Cross-compiler for mipsle platform
Date: 24 Mar 2006, 23:53:11

Hi

A quick report. I have been able to produce a Linux-based GPC cross-
compiler (gcc-2.95.4 back end) targetting the "mipsle" platform. 

This is the platform for the Texas Instruments AR7-based ADSL modem 
routers (there are a whole load of them - e.g., Linksys WAG54GV2, 
Safecom SWAMR-54108/SWART-54125, Netgear DG834G, Aztech DSL 600EW, 
Netcomm NB5, Actiontec GT701-WG, D-Link DSL-G604T, and more). The 
routers' firmwares are based on Montavista Linux and uClibc - this is 
the output of "uname -a":
"Linux 2.4.17_mvl21-malta-mips_fp_le #24 Wed Feb 8 15:58:57 CST 2006 
mips unknown".

There have been gcc cross-compilers for some time (based on gcc-
2.95.x), which I have been using to produce some mods. I didn't believe 
that producing a Pascal cross-compiler would be a trivial exercise, but 
it was in the end not as hard as I had imagined. It was a bit of a 
kludgy process, and I had to build the RTS separately (in the same way 
in which I would build any program or library for the platform), and 
patch the gpc compiler driver to search for libraries in some other 
places, but I got there in the end.

My preliminary tests indicate that the compiler is working well, and is 
producing good binaries that run well on the router. I also produced a 
shared version of libgpc.a, so that the binaries will be as small as 
possible (space is limited in the flash and ram disks, although 
"memavail" tells me that I have 99mb memory to play with (I seriously 
doubt it!)).

So, another GPC success story :-)

Best regards, The Chief
--------
Prof. Abimbola A. Olowofoyeku (The African Chief) 
web:  http://www.greatchief.plus.com/



Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).