From owner-freebsd-alpha Thu Mar 6 5:36:31 2003 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B84637B401; Thu, 6 Mar 2003 05:36:30 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 482B443FA3; Thu, 6 Mar 2003 05:36:27 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.8/8.12.8) with ESMTP id h26DaQG1014027 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 6 Mar 2003 08:36:26 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h26DaLR76435; Thu, 6 Mar 2003 08:36:21 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15975.20181.262337.837298@grasshopper.cs.duke.edu> Date: Thu, 6 Mar 2003 08:36:21 -0500 (EST) To: "Douglas K. Rand" Cc: freebsd-alpha@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG Subject: Re: Compaq FORTRAN In-Reply-To: <874r6hi8po.wl@delta.meridian-enviro.com> References: <874r6hi8po.wl@delta.meridian-enviro.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Douglas K. Rand writes: > $ ld -shared -o libcxml_ev6.so -soname libcxml.so -whole-archive libcxml_ev6.a -no-whole-archive -lfor -lUfor -lFutil -lcpml -lots <..> > $ ldd /usr/lib/compaq/cfal/f90_split > /usr/lib/compaq/cfal/f90_split: > /usr/lib/compaq/cfal/f90_split: error while loading shared libraries: /usr/lib/libcpml.so: ELF file OS ABI invalid > /usr/lib/compaq/cfal/f90_split: exit status 127 > > Can anybody provide some direction? It feels like I'm close to getting > the FORTRAN compiler working, and if I can, I don't have to install > Linux on this box. :) > I think you're close. What you might want to try to do is to install linux_devtools (or linux_devtools7, whichever matches your linux_base), and then build those libs using the linux ld. Put the results into /compat/linux/usr/lib. The linux version should be found first when running a linux binary, and the native versions you've produced will be found when a native FreeBSD binary runs. You also might want to take a peek at the Makefile for ports/lang/compaq-cc. It does many of the same things you are trying to do. Good luck! Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message