From owner-freebsd-current Thu May 28 03:22:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA16832 for freebsd-current-outgoing; Thu, 28 May 1998 03:22:07 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA16790 for ; Thu, 28 May 1998 03:22:02 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id KAA10607; Thu, 28 May 1998 10:21:56 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id MAA12848; Thu, 28 May 1998 12:21:47 +0200 (MET DST) Message-ID: <19980528122147.44793@follo.net> Date: Thu, 28 May 1998 12:21:47 +0200 From: Eivind Eklund To: Bruce Evans , rnordier@nordier.com Cc: current@FreeBSD.ORG Subject: Re: Replacing gcc as the system compiler (was Re: Fix for undefined "__error" and discussion of shared object versioning) References: <199805280348.NAA09679@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199805280348.NAA09679@godzilla.zeta.org.au>; from Bruce Evans on Thu, May 28, 1998 at 01:48:06PM +1000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, May 28, 1998 at 01:48:06PM +1000, Bruce Evans wrote: > >Have you looked closely at XANDF? I'm seeing two real hurdles (beyond > >inertia) in using this as our main compiler: The use of asm() for some > >macros in the kernel, and the use of linker sets. What do you think > >our chance of working around these are? > > Linker sets are just asm(). Too bad - I'd like another excuse to kill > them. asm() is not sue much in macros, but is used a lot in inline > functions. I see inline functions as the main hurdle. Chances of > replacing them at reasonable cost are low. inline functions should not be a problem. There is a keyword for defining inline functions in standard C: "static". 'inline' is semantically null. I think it will be possible to handle __asm(), but I haven't really attempted to implement my ideas yet. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message