On 03/28/2006 12:09 PM, Rainer Orth wrote: > Ok, I see. But that has probably been a bit easier than going from x86 (or > SPARC) to PowerPC, since it is the same architecture at least. I'm not > sure how well sgs deals with cross-linking, given that the OpenSolaris Dev > Guide (and README) prominently state that cross-building O/N isn't > supported and not expected to work in the forseeable future. This may well > be different for an initial bringup and the limited case of the linker, > though.
Well, obviously you HAVE to cross-compile to port to a platform Solaris doesn't yet work on. :-) Yes, the amd64 port was aided by the fact that the same hardware could be booted back into 32-bit mode, but at the same time ld for amd64 had to deal with a whole new link strategy anyway. So while cross-building isn't "supported" at the same time it's the only way you can do a port. What remains as an exercise for the user is whether it's easier to make Sun's ld generate a PPC binary on SPARC or x86 Solaris or on PPC Linux. William Kucharski william.kucharski at sun.com