From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17677 invoked by alias); 23 Sep 2008 09:24:22 -0000 Received: (qmail 17668 invoked by uid 22791); 23 Sep 2008 09:24:22 -0000 X-Spam-Check-By: sourceware.org Received: from node3.inaccessnetworks.com (HELO inaccessnetworks.com) (212.205.200.118) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 23 Sep 2008 09:23:22 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by inaccessnetworks.com (8.13.6/8.13.5) with ESMTP id m8N9NIn7025294; Tue, 23 Sep 2008 12:23:18 +0300 Received: from inaccessnetworks.com ([127.0.0.1]) by localhost (host11.inaccessnetworks.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25070-04; Tue, 23 Sep 2008 12:23:18 +0300 (EEST) Received: from [192.168.1.44] (sotos.priv.inaccessnetworks.com [192.168.1.44]) by inaccessnetworks.com (8.13.6/8.13.5) with ESMTP id m8N9NFfA025265; Tue, 23 Sep 2008 12:23:15 +0300 Message-ID: <48D8B582.6020307@inaccessnetworks.com> Date: Tue, 23 Sep 2008 09:24:00 -0000 From: "Nektarios K. Papadopoulos" User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Andrew Haley CC: Taufik Chowi , java@gcc.gnu.org Subject: Re: GCJ Compile Error SQLite JDBC References: <720825.42922.qm@web54605.mail.re2.yahoo.com> <48C8FD2C.6010306@redhat.com> In-Reply-To: <48C8FD2C.6010306@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2008-09/txt/msg00053.txt.bz2 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