From owner-freebsd-sparc Fri Nov 27 23:07:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA12470 for freebsd-sparc-outgoing; Fri, 27 Nov 1998 23:07:20 -0800 (PST) (envelope-from owner-freebsd-sparc@FreeBSD.ORG) Received: from obie.softweyr.com ([204.68.178.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA12465 for ; Fri, 27 Nov 1998 23:07:18 -0800 (PST) (envelope-from wes@softweyr.com) Received: from softweyr.com (zaphod.softweyr.com [204.68.178.35]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id AAA13617; Sat, 28 Nov 1998 00:08:09 -0700 (MST) (envelope-from wes@softweyr.com) Message-ID: <365FA145.7305427D@softweyr.com> Date: Sat, 28 Nov 1998 00:07:49 -0700 From: Wes Peters Organization: Softweyr llc X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Greg Lehey 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message