Previous: gforthmi, Up: Fully Relocatable Image Files
You can also use cross
, a batch compiler that accepts a Forth-like
programming language (see Cross Compiler).
cross
allows you to create image files for machines with
different data sizes and data formats than the one used for generating
the image file. You can also use it to create an application image that
does not contain a Forth compiler. These features are bought with
restrictions and inconveniences in programming. E.g., addresses have to
be stored in memory with special words (A!
, A,
, etc.) in
order to make the code relocatable.