>> Already done. The inferno distribution contains, in /utils, all >> the Plan 9 xa, xc, xl (for x in [012568kv]) compilable by gcc. > > Would this be possible to use for a cross compiler with a Plan9 > target?
This *is* a cross compiler with a Plan 9 target. It generates Plan 9 binaries, which may be commands (to run under Plan 9 or 9vx) or bootable files (e.g. kernels for Plan 9 or inferno, or stand-alone programs for embedded hardware). > I guess this port [1] might be a good starting point? > > [1] http://code.google.com/p/ken-cc/ That isn't a "port", it's just the same xa,xc,xl utils referred to above, removed from the inferno distribution and placed in their own self-contained package.