Anyone here back porting C compilers to old machines?

Just for completeness. Finally got a hello.c running through gcc, through cpp, through cc1, through asm and through the link-loader with gcc generating all the correct command line specs for each phase and the native assembler not barfing on the gcc output.

Turns out Uniflex clobbers d2 and a2 on function calls, so I needed to tweak the cross compiler to protect them.
|

fullcompile

2 Likes