Problem compiling apache libraries

Marco Trudel mtrudel@gmx.ch
Fri Feb 9 11:54:00 GMT 2007


Mohsen Saboorian wrote:
> Hi,
>> I'm trying to compile a project into native form using GCJ. The
> project depends on some of apache commons libraries plus velocity and
> log4j. I was able to compile log4j (1.2.8) into .obj format, by
> removing package: org.apache.log4j.jmx. Unfortunately I cannot compile
> Velocity 1.4, because of it's referencing to many other packages
> (still unused):
> - org.apache.velocity.anakia.* to JDOM
> - org.apache.velocity.convert.WebMacro to ant
> - ...
>> Is it possible to compile libraries like Velocity, ignoring unused
> library references?

Compiling with the "-findirect-dispatch" flag will do that.
> Is there any place to download already natively-compiled apache libraries?

Not that I know of... IMHO, it wouldn't make sense anyway.
Marco


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /