From owner-cvs-lib Thu Mar 12 02:42:11 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA09594 for cvs-lib-outgoing; Thu, 12 Mar 1998 02:42:11 -0800 (PST) (envelope-from owner-cvs-lib) Received: from cimlogic.com.au ([203.36.2.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA09514; Thu, 12 Mar 1998 02:41:48 -0800 (PST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.5/8.8.7) id VAA06569; Thu, 12 Mar 1998 21:42:28 +1100 (EST) (envelope-from jb) From: John Birrell Message-Id: <199803121042.VAA06569@cimlogic.com.au> Subject: Re: cvs commit: src/lib/csu/alpha Makefile In-Reply-To: <19980312111141.18854@follo.net> from Eivind Eklund at "Mar 12, 98 11:11:41 am" To: eivind@yes.no (Eivind Eklund) Date: Thu, 12 Mar 1998 21:42:28 +1100 (EST) Cc: gurney_j@resnet.uoregon.edu, jb@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Eivind Eklund wrote: > As for crossbuilding: Do it! (But be aware that there are a lot of > irritating small issues to it - NetBSD hasn't got functional > cross-building for all platforms). Cross building for the same sized longs, maybe. But _all_ platforms, I doubt it! I just tried building binutils on FreeBSD/i386 with both elf32 and elf64. From what I can see from the compiled warnings (and the resulting assertions), the elf64 code is not intended for use on any architecture where sizeof(long) < 8. Now, building elf32 and elf64 on FreeBSD/Alpha is more realistic. But how much GNU relies on host variables sized the same way as target variables, I'm not sure. If objdump on alpha can disassemble an i386 aout object, I'll concede that it works. Anyone care to place bets? 8-) -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137