Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 1998 21:42:28 +1100 (EST)
From:      John Birrell <jb@cimlogic.com.au>
To:        eivind@yes.no (Eivind Eklund)
Cc:        gurney_j@resnet.uoregon.edu, jb@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/csu/alpha Makefile
Message-ID:  <199803121042.VAA06569@cimlogic.com.au>
In-Reply-To: <19980312111141.18854@follo.net> from Eivind Eklund at "Mar 12, 98 11:11:41 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803121042.VAA06569>