From owner-freebsd-current Fri Mar 13 19:52:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA28862 for freebsd-current-outgoing; Fri, 13 Mar 1998 19:52:18 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cimlogic.com.au ([203.36.2.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA28784 for ; Fri, 13 Mar 1998 19:52:02 -0800 (PST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.5/8.8.7) id OAA16327; Sat, 14 Mar 1998 14:53:34 +1100 (EST) (envelope-from jb) From: John Birrell Message-Id: <199803140353.OAA16327@cimlogic.com.au> Subject: Re: binutils bloat In-Reply-To: <199803140340.TAA03092@dingo.cdrom.com> from Mike Smith at "Mar 13, 98 07:40:26 pm" To: mike@smith.net.au (Mike Smith) Date: Sat, 14 Mar 1998 14:53:34 +1100 (EST) Cc: jb@cimlogic.com.au, mike@smith.net.au, current@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-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > Understood, but that doesn't answer the initial question, which was "if > you build binutils supporting other systems, do you still get tools > that support FreeBSD", ie. do the new tools suddenly multitarget, or do > you run the risk of overwriting your normal tools? Yes the tools (except gas) multitarget. For example, objdump on alpha can disassemble an aout i386 object without you telling what system the object was for. Same for nm, strip, etc. I'm having a go at building m68k into binutils on alpha now. I'll see if it can recognise NetBSD/mvme68k. I tried to get i386 to disassemble elf64 but the code wouldn't compile without bit overflow (ie > 32) warnings and it asserted when run. For gas, a few subdirs of src/gnu/usr.bin/binutils with optional defines could build gas_m68k etc. But only if you enabled something in /etc/make.conf. > Hmm. If you win this one, I think I can use the precedent. 8) After saying that, it's probably not winable. 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 freebsd-current" in the body of the message