From owner-freebsd-questions Tue Dec 9 12:45:48 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA03746 for questions-outgoing; Tue, 9 Dec 1997 12:45:48 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from mom.hooked.net (root@mom.hooked.net [206.80.6.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA03740 for ; Tue, 9 Dec 1997 12:45:43 -0800 (PST) (envelope-from garbanzo@hooked.net) Received: from fish.hooked.net (garbanzo@fish.hooked.net [206.80.6.48]) by mom.hooked.net (8.8.5/8.8.5) with SMTP id MAA09093; Tue, 9 Dec 1997 12:45:39 -0800 (PST) Date: Tue, 9 Dec 1997 12:45:39 -0800 (PST) From: Alex To: Zoltan Sebestyen cc: FreeBSD questions mailinglist Subject: Re: egcs on FreeBSD In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 9 Dec 1997, Zoltan Sebestyen wrote: > Hi, > > I'd like to know if anyone tried to compile/use ecgs (a gcc derived > compiler by Cygnus) on FreeBSD or if there's a FreeBSD of egcs. Yup, I have. It's kinda broken as far as I can tell. The stock egcs (~December 12th snapshot) compiled out of the box, and with a little tweaking can be called with -Vegcs-2.90.20. This wouldn't compile the kernel due to a missing symbol, adding the pgcc patches to this, and recompiling pgcc with the egcs produced a compiler (-Vegcs-2.90.20p) that could compile the kernel fine, however it didn't add __DYNAMIC to shared libs, causing ld to bomb out. This is better than the pgcc port (2.7.2.1 based) and the pgcc-current (marked as broken), but still pretty limited in functionality. - alex