Re: GCJ Compile Error SQLite JDBC
"Nektarios K. Papadopoulos" <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2008-09-11 14:12, Andrew Haley wrote: > Taufik Chowi wrote: >> Dear Andrew, >> >> Certainly >> http://files.zentus.com/sqlitejdbc/sqlitejdbc-v053.jar >> >> btw he is number one result, if you try googling sqlite jdbc , he comes out on top >> and some other sqlite jdbc creator also praise his jdbc >> such as http://www.xerial.org/trac/Xerial/wiki/SQLiteJDBC >> "The original Zentus's SQLite JDBC driver http://www.zentus.com/sqlitejdbc/ itself is an excellent utility for using SQLite databases from Java language , and our SQLiteJDBC library also relies on its implementation." > > OK, this jar file is the result of compiling sqlite (written in C?) > into MIPS machine code and then embedding a MIPS emulator into > Java. The resulting enormous jarfile is the result. sqlitejdbc does this in order to provide a cross-platform (pure Java) sqlite jdbc driver. If one plans to compile the resulting jarfile with gcj there is no need to do this trick in the first place. sqlitejdbc provides a build option not to include the MIPS emulator and use JNI to access the native compiled sqlite library. However, I never tried to use the resulting jarfile + native library with gcj. > > I am confident in saying, for the first time ever that we have a > jar file that cannot be compiled with gcj. > ok, but IMHO there is no need to compile this jar file with gcj ;-) -- Nektarios K. Papadopoulos