RFC: micro-libgcj merge proposal
Per Bothner
per@bothner.com
Fri Jan 13 19:08:00 GMT 2006
David Daney wrote:
> Q: Who gets to decide what is in micro-libgcj?
> ...
> I cannot use micro-libgcj if it contains too small a sub-set of libgcj.
> Likewise I don't want it to be too big. My requirements do not cleanly
> fit into any of Sun's J2ME profiles so I don't want that either.
That is why we need pre-processing. At configure time you select a
"profile" - either a "standard" named profile or a custom profile.
Each profile sets set of pre-processor flags, such as
"+java.lang.ClassLoader" (if the profile includes ClassLoader support)
or "-java.lang.ClassLoader" (if it doesn't). Then at 'make' time
(though it could be 'configure' time, I guess) we run a pre-processing
filter and the normal .java files to give the modified files in a
separate directory, before compiling the latter.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
More information about the Java
mailing list