On Sat, Apr 24, 2010 at 11:51, [email protected] <[email protected]> wrote: > On Sat, Apr 24, 2010 at 7:16 AM, [email protected] > <[email protected]> wrote: >> Thats great, I will test build it. >> >> I have been dreaming last night about compiling josm with the GNU Java >> Compiler: >> http://gcc.gnu.org/java/ > > dream come true!!!! > > http://github.com/h4ck3rm1k3/josm/commit/2432202f867953559d973387bc28ef66acf039f7 > > It works, I now have a gnu java compiler version of josm running, I > removed the proxy support because that does not work with classpath. > we might be able to implement that some other time. > also the rounding of the division is left to do, we will see if it > causes big problems. > > i made my first commit with it > http://www.openstreetmap.org/browse/changeset/4511174 > > http://github.com/downloads/h4ck3rm1k3/josm/josm-custom.jar
That's awesome. Nice to see some development happening with the mirror. Doesn't Java have some macro-like system or a way to hack it with Ant so that gcj support can be merged back in? Maybe by subclassing those files you modified and tell ant to compile FooGCJ.java under gcj and just Foo.java otherwise. Also doesn't GCJ support compiling to object code instead of a .jar via GCC? Did you try that? If so how does it compare speed/memory wise? Does running with GCJ also suffer from the odd little bugs everywhere you get with OpenJDK? _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/josm-dev
