From owner-freebsd-ports@FreeBSD.ORG Mon Apr 21 13:04:25 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 C463137B401 for ; Mon, 21 Apr 2003 13:04:25 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-67-115-75-1.dsl.lsan03.pacbell.net [67.115.75.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D96F243F85 for ; Mon, 21 Apr 2003 13:04:24 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 7EC2366B9B; Mon, 21 Apr 2003 13:04:24 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 5E0641531; Mon, 21 Apr 2003 13:04:24 -0700 (PDT) Date: Mon, 21 Apr 2003 13:04:24 -0700 From: Kris Kennaway To: Peter Schultz Message-ID: <20030421200424.GB57583@rot13.obsecurity.org> References: <3EA2AA58.2070007@jocose.org> <20030420223609.GA79270@rot13.obsecurity.org> <3EA3E4E3.8050005@jocose.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline In-Reply-To: <3EA3E4E3.8050005@jocose.org> User-Agent: Mutt/1.4i cc: freebsd-ports@freebsd.org cc: Kris Kennaway Subject: Re: FreeBSD Port: setiathome-3.03_7 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: Mon, 21 Apr 2003 20:04:26 -0000 --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 21, 2003 at 07:32:35AM -0500, Peter Schultz wrote: > >Support for a.out binaries on 5.0 requires a kernel compatibility > >option. A native 4.x/5.0 ELF version (as well as the 2.x a.out > >version) would be better. > > > I'll just build 4.8 and 5.0 versions then and see how that gets by. I'm not sure if a 4.8 version will work on older 4.x systems (even if it's static). This would need to be tested. > Yesterday I built it statically with optimized libc and libm. For libc= =20 > I used `-O3 -pipe', because it wouldn't compile with the flags I used=20 > for libm and setiathome: `-O3 -fno-exceptions -fno-rtti -funroll-loops=20 > -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe'. Since I=20 > normally use `-O -pipe', I'm hoping there are people here who can give=20 > me optimization suggestions. Would making it i686 only help? Yes, you should compile it with CPUTYPE=3Di686; I recommend against -O2 or especially -O3 in case it creates broken code. Kris --LpQ9ahxlCli8rRTG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+pE7IWry0BWjoQKURAtgWAKCY5OiJy7UUNsFuv3HgKy/Meq7jKQCfY0mr 5VdRyBsViVow5I7861lenCc= =2BQ+ -----END PGP SIGNATURE----- --LpQ9ahxlCli8rRTG--