From owner-freebsd-sparc Fri Nov 27 23:08:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA12827 for freebsd-sparc-outgoing; Fri, 27 Nov 1998 23:08:46 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA12817 for ; Fri, 27 Nov 1998 23:08:42 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id RAA01230; Sat, 28 Nov 1998 17:38:16 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id RAA08249; Sat, 28 Nov 1998 17:38:15 +1030 (CST) Message-ID: <19981128173815.X6182@freebie.lemis.com> Date: Sat, 28 Nov 1998 17:38:15 +1030 From: Greg Lehey To: Wes Peters Cc: John Birrell , paipai@tin.it, freebsd-sparc@FreeBSD.ORG Subject: Re: [Ultra] Compiler, again References: <19981128120008.W468@freebie.lemis.com> <199811280218.NAA24051@cimlogic.com.au> <19981128124255.E6182@freebie.lemis.com> <365FA145.7305427D@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <365FA145.7305427D@softweyr.com>; from Wes Peters on Sat, Nov 28, 1998 at 12:07:49AM -0700 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Saturday, 28 November 1998 at 0:07:49 -0700, Wes Peters wrote: > Greg Lehey wrote: >> >> On Saturday, 28 November 1998 at 13:18:06 +1100, John Birrell wrote: >> >>> Last time I tried building a 64-bit (alpha) cross-compiler on a 32-bit >>> (i386) system, I couldn't get it to compile. I may not have configured >>> the thing properly, so YMMV, but it is worth checking the gcc or egcs >>> configure scripts to see if Cygnus have support for the host/target >>> combination you require. At a guess I'd say that unless there is a >>> Linux/i386 hosted option for the sparc64, then it's unlikely to >>> work out-of-the-box. >> >> Yes, I've tried and given up too, though I didn't try very hard. But >> it's definitely not the trivial build that native gcc is. > > But Alpha isn't nearly as well supported by GCC as SPARC. Try building > a true cross-compiler, either --target=sparc-aout or --target=sparc-elf. > These don't expect to have any system include files to fix, or any > vendor support libraries that must be linked. I wasn't talking about alpha. In fact, it's so long ago I can't remember what it was. The real issue was that I didn't have much time, and I wasn't expecting it to be as much work as it was. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message