From owner-freebsd-ports@FreeBSD.ORG Thu Apr 17 02:22:03 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5938A37B401 for ; Thu, 17 Apr 2003 02:22:03 -0700 (PDT) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 606D143F3F for ; Thu, 17 Apr 2003 02:22:02 -0700 (PDT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (orb_rules@localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.8/8.12.8) with ESMTP id h3H9LwVo093491; Thu, 17 Apr 2003 11:21:58 +0200 (CEST) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.8/8.12.8/Submit) id h3H9Lwtg093490; Thu, 17 Apr 2003 11:21:58 +0200 (CEST) Date: Thu, 17 Apr 2003 11:21:58 +0200 From: Stijn Hoop To: Dan Naumov Message-ID: <20030417092158.GD92616@pcwin002.win.tue.nl> References: <20030417121820.398eef84.dan.naumov@ofw.fi> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xesSdrSSBC0PokLI" Content-Disposition: inline In-Reply-To: <20030417121820.398eef84.dan.naumov@ofw.fi> User-Agent: Mutt/1.4.1i X-Bright-Idea: Let's abolish HTML mail! cc: freebsd-ports@freebsd.org Subject: Re: Force a GCC version or a FreeBSD version ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2003 09:22:03 -0000 --xesSdrSSBC0PokLI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 17, 2003 at 12:18:20PM +0300, Dan Naumov wrote: > Hello >=20 > I am currently thinking about making a port for Visual Boy Advanced (as > the name implies, it's a GBA emulator). The problem is, according to the > documentation, it will ONLY work properly with GCC 3.2 or newer. Which > route shall I go ? Shall I force a specific version of GCC on the user > or shall I make this port BROKEN for all FreeBSD versions prior to 5.0 ? There is a port for gcc32 which works on both -STABLE and -CURRENT afaik. > From my understanding, mixing multiple GCCs (which are binary > incompatible) on 1 system is a bad idea. It is not a bad idea if it is unambiguously decided which compiler is called when running 'gcc'. I think the gcc32 port installs the compiler as 'gcc32' so that's not a problem. You would have to patch VBA to use gcc32 as the compiler (setting CC=3Dgcc32 will probably work). > Also doing this GCC trickery will make my life even harder, as I don't > have a 4.x box to test this on. Are 5.0-only ports frown upon or are > they generally OK ? I think that in this case it isn't too hard to make it work on 4.x. Having run VBA on FreeBSD before I volunteer to test it on 4.x. You can send me your preliminary port if you feel like it. I hope it will work out, it would make my GBA dev environment less sucky (vgba, Marat Fayzullin's emu, is binary only and doesn't understand GCC debugging features last time I checked). --Stijn --=20 "What if everything you see is more than what you see -- the person next to you is a warrior and the space that appears empty is a secret door to anoth= er world? What if something appears that shouldn't? You either dismiss it, or = you accept that there is much more to the world than you think. Perhaps it real= ly is a doorway, and if you choose to go inside, you'll find many unexpected things." -- Shigeru Miyamoto --xesSdrSSBC0PokLI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+nnI2Y3r/tLQmfWcRApt0AJ9grq+VDU9DKAGwpXtHLI9K6zEZqACffURj rt4Mp5jZEL2TJmuaocpm6jQ= =4jW9 -----END PGP SIGNATURE----- --xesSdrSSBC0PokLI--