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/