This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem compiling apache libraries


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]