On 13-Feb-06, at 4:39 PM, Latchesar Ionkov wrote:
You want to use GNU binutils? It would be very hard to make GNU binutils to support Plan9 object file format. The options are to use ?c/?l/acid and lose the GNU binutils features, or to use some object format supported by GNU binutils and compile everything (even the kernel ;) with gcc and gnu binutils.
It's even deeper than that; since plan9 doesn't use the target platform ABIs, it's not even possible to write an elf-to-plan9 executable converter; GCC would have to be customized to generate code to plan9's calling convention and probably object format. Even though libBFD is used it hardcodes a lot of incompatible assumptions about object file layout - in particular, I don't think it can represent plan9's .o/.S hybrid format.
It's a way bigger project than it looks like on the surface. Paul
