From owner-freebsd-sparc Fri Nov 27 16:33:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA14913 for freebsd-sparc-outgoing; Fri, 27 Nov 1998 16:33:49 -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 QAA14907; Fri, 27 Nov 1998 16:33:44 -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 LAA29892; Sat, 28 Nov 1998 11:02:58 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.1/8.9.0) id LAA05751; Sat, 28 Nov 1998 11:02:57 +1030 (CST) Message-ID: <19981128110256.N468@freebie.lemis.com> Date: Sat, 28 Nov 1998 11:02:56 +1030 From: Greg Lehey To: Paolo Di Francesco , freebsd-sparc@FreeBSD.ORG, Jordan Hubbard Subject: Re: [Ultra] Compiler, again References: <199811251911.OAA00633@jhicks.glenatl.glenayre.com>; <19981126110842.D67961@freebie.lemis.com> <19981126012503.TTRF23855.fep04-svc@winworkstation> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19981126012503.TTRF23855.fep04-svc@winworkstation>; from Paolo Di Francesco on Thu, Nov 26, 1998 at 02:27:21AM +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 X-Mutt-References: <19981126012503.TTRF23855.fep04-svc@winworkstation> Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thursday, 26 November 1998 at 2:27:21 +0000, Paolo Di Francesco wrote: > Greg Lehey wrote: >> [Format autorecovered at freebie.lemis.com] >> >> On Wednesday, 25 November 1998 at 14:11:42 -0500, Jerry Hicks wrote: >>> Chuck Youse - Icon CMT Network Operations Center wrote: >>>> Use GNU make. >>> >>> Definitely good advice! > >> I prefer GNU make to BSD make, but it's still not good advice. >> FreeBSD uses BSD make, and if we start requiring two different makes >> to build the product, we're going to have both procedural trouble and >> lots of resistance from the core team. > > Well, onestly I don't know.... Can someone contact a member of the > freeBSD core team? Sure, anyone can contact a member of the FreeBSD core team. I'm copying Jordan on this one, because I'm pretty sure this is an issue on which the core team will have no differences in opinion. Jordan, the proposal is to use GNU make instead of BSD make for the Sparc port. As I said above, I don't agree for political reasons. Would you like to make a statement? > Personally I don't think we'll have problems about this. We need > something to compile our (internal) code to do experiments and to > build a kernel. We can use Solaris or another > OperatingSystem+compiler, the important thing is that we must have > an UltraSparc compiler. If we cannot do compiling using the gcc, > well we have no choose, we must use egcs. [Back to the Sparc people] 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. > In the future, we can use gcc if it will support UltraSparc, but now > no egcs no UltraFreeBSD. For the userland maybe we will have more > problems. Anything will be compiled with egcs if gcc does not > support Ultra, and this means we cannot distribute sources and the > compiler, because we must use gcc for the userland. (I think) 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. 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