From owner-freebsd-sparc Fri Nov 27 17:30:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA18658 for freebsd-sparc-outgoing; Fri, 27 Nov 1998 17:30:34 -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 RAA18646 for ; Fri, 27 Nov 1998 17:30:30 -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 MAA00278; Sat, 28 Nov 1998 12:00:11 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id MAA06157; Sat, 28 Nov 1998 12:00:09 +1030 (CST) Message-ID: <19981128120008.W468@freebie.lemis.com> Date: Sat, 28 Nov 1998 12:00:08 +1030 From: Greg Lehey To: Paolo Di Francesco , freebsd-sparc@FreeBSD.ORG Subject: Re: [Ultra] Compiler, again References: <19981126012503.TTRF23855.fep04-svc@winworkstation>; <19981128110256.N468@freebie.lemis.com> <19981128011428.BZH5035.fep03-svc@winworkstation> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19981128011428.BZH5035.fep03-svc@winworkstation>; from Paolo Di Francesco on Sat, Nov 28, 1998 at 02:16:46AM +0000 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 2:16:46 +0000, Paolo Di Francesco wrote: > Greg Lehey wrote I inserted the line above myself. It would be helpful if you got your mailer to do it for you. >> Don't forget that the other flavours of *BSD also use gcc. The >> difference is that they use different Makefiles (which, BTW, are at >> least one order of magnitude less complex). Your challenge would be >> to modify them, preferably in a manner which wouldn't preclude their >> use on other platforms, so that they would also build a Sparc >> compiler. So far, the only platform dependency in >> /usr/src/gnu/usr.bin/cc/Makefile.inc is: >> >> if ${MACHINE_ARCH} != "i386" >> BINFORMAT= elf >> .else >> # Pick aout for now. the elf config is not binary compatable. >> BINFORMAT?= aout >> #BINFORMAT?= elf >> .endif >> >> It seems to me that this wouldn't need changing for Sparc. > > I don't know which are the tecnical problems when you compile a > cross-compiler. For the compiler part (use Solaris+gccX.Y) I don't > think we have many prob. I don't think we would use the standard compiler as a cross-compiler. That should probably stay in the ports collection. >> There are other messages which suggest that the future is now. I >> can't see any reason not to move to 2.8.x if that's what it takes. By >> the time the Sparc port gets merged into the main source tree, the >> other platforms will probably support it too. In the meantime you >> could use the version in ports. > > Yes, if there are no tecnical or political problems we can use it. I don't know > if we can use it as crosscompiler, but we can try. Yes, gcc can be compiled as a cross-compiler. > P.P.S. Rember: I haven't an Ultra. This means "crosscompiling" and I don't know > if we can use gcc for crosscompiling 8( Yes, gcc can be compiled as a cross-compiler. 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