strobe anarkhos wrote:
At 3:28 PM +0200 10/9/01, Frank Heckenbach wrote:
da Silva, Joe wrote:
This raises a similar question, that I had been wondering about ...
If "gcc" has been ported or targeted (ie. as a cross-compiler) to a particular platform, does this mean that "gpc" can be readily (ie. easily) ported or targeted to the same platform?
Usually yes. You'd also have to compile the RTS with the newly built (cross-)GPC, but if the target system is somewhat POSIX compatible (and Darwin is AFAIK) there should only a few problems if any.
Frank
Considering Darwin has a different linker and binary format, the answer WRT Darwin is "no" unless you're compiling on Darwin.
What do you mean? I'm quite sure that GPC uses the same assembler code and binutils (and therefore the same linker and binary format) as GCC on every platform, so if GCC works (natively and/or cross), then GPC should work the same way.
Frank