From owner-freebsd-java Mon Feb 2 03:46:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA16274 for java-outgoing; Mon, 2 Feb 1998 03:46:26 -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 DAA16231 for ; Mon, 2 Feb 1998 03:46:02 -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 OAA09787; Mon, 2 Feb 1998 14:27:58 +0100 (MET) Message-ID: <34D5B297.43856914@systemics.com> Date: Mon, 02 Feb 1998 11:48:39 +0000 From: Ian Grigg Organization: Systemics X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 3.0-971022-SNAP i386) MIME-Version: 1.0 To: Nate Williams CC: freebsd-java@FreeBSD.ORG Subject: Re: jdk115 JNI requires ELF, gcc makes a.out References: <34D531C8.2B6B8D8B@systemics.com> <199802020254.TAA26197@mt.sri.com> 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" Nate Williams wrote: > > However, the result that is produced by gcc is a.out format, and the JVM > > seems to require ELF. > > Huh? I don't think so. FreeBSD doesn't do ELF, so nothing we've > created requires and/or uses ELF. You're absolutely right, of course, I looked more closely and found I had hooked into the Linux JVM, through some dodgy scripts. It still doesn't work with the FreeBSD JVM, but I'll have to leave it for now, it looks like some local problem, and I need to fiddle with PATHS. Just to complete these questions: > If the Cryptix-C stuff in JNI, do > they provide you with C sources and/or libraries? In this case, I am part of the "they" and and I'm trying to compile the source for FreeBSD (and Solaris). When I can do that, I plan to start shipping the source in our main src distribution, as well as a bunch of pre-compiled dists for platforms. It was written/ported/developed on W95/NT and needs some re-porting. > If libraries, are > *they* ELF compiled? If so, then they are not for FreeBSD, but for > Solaris and/or Linux, and will not work under FreeBSD. The libraries I have compiled are a.out format. I fallaciously assumed that the ELF was a generic thing in the JDK port, and spent all my time hunting for methods to produce ELF formats. > In short, the current JDK requires everything to be 100% Pure and/or > compiled for FreeBSD in the case of the JNI stuff. That's the confirmation I needed, thanks. No ELFs. -- iang systemics.com FP: 1189 4417 F202 5DBD 5DF3 4FCD 3685 FDDE on pgp.com