Guys,
currently XMLVM has two targets: 'c' and 'posix'. The difference is that
--target=c only cross-compiles a single file while --target=posix pulls
in all dependent classes into the cross-compilation process. Some of you
ran into problems with --target=c. The main reason is that we are doing
quite a few optimizations with the C backend that require a 'global
view' of all classes of an application (e.g., optimize the size of the
vtable). This can't be done for --target=c. Furthermore, it will be next
to impossible to link generated .c files that were cross-compiled
one-by-one with --target=c.
I am considering to remove --target=c for that reason unless someone has
a compelling reason against this.
Arno
|