From owner-freebsd-java Sun Feb 1 18:36:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA17371 for java-outgoing; Sun, 1 Feb 1998 18:36:21 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from sniff.iway.nl (sniff.iway.nl [193.78.30.251]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA17366 for ; Sun, 1 Feb 1998 18:36:19 -0800 (PST) (envelope-from iang@systemics.com) Received: from hayek.guvnet (noddy [192.168.1.5]) by sniff.iway.nl (8.7.5/8.7.3) with SMTP id FAA08369; Mon, 2 Feb 1998 05:18:19 +0100 (MET) Message-ID: <34D531C8.2B6B8D8B@systemics.com> Date: Mon, 02 Feb 1998 02:39:04 +0000 From: Ian Grigg Organization: Systemics X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 3.0-971022-SNAP i386) MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: jdk115 JNI requires ELF, gcc makes a.out Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe java" Hi Team, I've been using your FreeBSD JDK 1.1.5, and it hums. I've compiled up and tested all of the current Cryptix distribution, and it went through with no problems. I'm now trying something harder: Cryptix-C Native (JNI). I've got it to compile ok, with only this change: cd bin; ln -s i386 i586 which was required for javah. However, the result that is produced by gcc is a.out format, and the JVM seems to require ELF. I guess we are stuck with the JDK requiring ELF? (I couldn't find any doco on the subject of ELFs, other than a hint that if I installed a patch kit called Elfkit I could effectively compile for ELFs. But I couldn't find much recent status on that, it seemed to be at the development stage.) Now, I guess this isn't a bug, but I'd be grateful for any pointers... Is there a way to produce ELFs that I've missed, or a way to use a.out in the JVM? Other than that, great job, it's now the distribution JDK for Cryptix. -- iang systemics.com FP: 1189 4417 F202 5DBD 5DF3 4FCD 3685 FDDE on pgp.com