| Mark Williams C's linker has a "-R" switch that is used to set the
"relocation base", and according to the documentation, is "used primarily
to produce output files that can be burned into ROM.". I don't know
exactly what it does for you, but you may wish to investigate it.
The compiler does keep separate Psect's for code and data, and even
keeps a separate Psect for readonly data. It shouldn't be too hard to
post-process the relocatable image into the proper format for ROMs, but
you don't get it for free, you'd have to write some code.
|
|
Many thanks for this info !
I will order the Mark Williams "C" compiler a.s.a.p.
There is only the problem here in Germany to get the
new version V3.0 ( as far as I know ).
By the way, does anyone know to get GEM support and
"C"-ANSI support included in V3.0. ?
Regards, Reinhard
|