From owner-freebsd-alpha Mon Jul 8 18:32:50 2002 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 5965F37B406 for ; Mon, 8 Jul 2002 18:32:41 -0700 (PDT) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id F093143E31 for ; Mon, 8 Jul 2002 18:32:40 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0460.cvx22-bradley.dialup.earthlink.net ([209.179.199.205] helo=mindspring.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17RjqW-0003CC-00; Mon, 08 Jul 2002 21:31:17 -0400 Message-ID: <3D2A3CBA.4156AD9F@mindspring.com> Date: Mon, 08 Jul 2002 18:30:34 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Idar Tollefsen Cc: freebsd-alpha@freebsd.org Subject: Re: Compaq-CC, the next steps.... References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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 Idar Tollefsen wrote: > I know this is probably going to sound stupid, but hey, > you only learn by asking... > = > FreeBSD and Linux don't use the same ELF format, do they? Yes. > I thought the Compaq compiler produced Linux/Alpha binaries, > in which case you would need the Linux emulator to run them. No. It is the system call entry points, which are in libc, which dictate whether it's a Linux or a FreeBSD system it's talking to (and the manifest constants and structures in the header files which are filled out and/or passed as parameters to the system calls). > =CCf that's the case, is there really a speed increase to be > gained? And even if it is, do we really want the FreeBSD ports > collection to prefer building Linux/Alpha binaries over native > binaries on the Alpha? You seem to believe that the Linux compatability module is an emulator. It's not. It's an ABI. There are no performance penalties for running Linux binaries (other than those imposed by use of the Linux system interfaces by virtue of their design). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message