From owner-freebsd-alpha Wed Feb 12 3:17:24 2003 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6524E37B401 for ; Wed, 12 Feb 2003 03:17:23 -0800 (PST) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A11F43FCB for ; Wed, 12 Feb 2003 03:17:22 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.6/8.12.6) with ESMTP id h1CBHL1o021438; Wed, 12 Feb 2003 03:17:21 -0800 (PST) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6) with ESMTP id h1CBHL2F036949; Wed, 12 Feb 2003 03:17:21 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.6/8.12.6/Submit) id h1CBHKEM036916; Wed, 12 Feb 2003 03:17:20 -0800 (PST) Date: Wed, 12 Feb 2003 03:17:19 -0800 From: Marcel Moolenaar To: Terry Lambert Cc: alpha@FreeBSD.org Subject: Re: Open Watcom compiler Message-ID: <20030212111719.GA23742@dhcp01.pn.xcllnt.net> References: <20030211003353.GA12187@athlon.pn.xcllnt.net> <20030212084617.GA98667@dragon.nuxi.com> <20030212092532.GA20618@ns1.xcllnt.net> <3E4A16AB.1346163E@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E4A16AB.1346163E@mindspring.com> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Feb 12, 2003 at 01:40:59AM -0800, Terry Lambert wrote: > Marcel Moolenaar wrote: > > Porting OW will not be a waste of my time. Fixing the gcc'isms will. > > The former I do out of interest, the latter will only be something > > I could possibly do because nobody else has an interest in doing > > it (so far). > > If you were to make the compiler run native on FreeBSD x86 as a > result of a "cd /usr/ports/tools/xxx; make all install", I would That's my intention. I don't know yet how easy or complex the bootstrap will be so I have to be careful with promises. > be willing to go through and fix *all* the "GCC'isms" in a "make > world" (ports gets to be someone else's problem), assuming the > Watcom compiler supports the more equivalent of "linker sets" for > data (e.g. for SYSINIT). Fair enough. I think it's reasonable to flag certain things as compiler must-haves and see if the compiler guys buy into it. > You will also need to support alignment > and structure packing primitives, so device driver code does not > have to be rewritten as pure assembly. IIRC packing is already present and I expect alignment to be there as well, but cannot recall if I used it before. > Getting the changes committed to FreeBSD would be your problem, but > from my point of view, fixing those kinds of problems is trivial, > and I'm willing to do the "trained monkey" work of doing it, if > there's a compiler there. Sounds good. I guess the port is step 1... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message