FreeBSD Port: setiathome-3.03_7

Kent Stewart kstewart at owt.com
Mon Apr 21 13:17:36 PDT 2003


On Monday 21 April 2003 01:04 pm, Kris Kennaway wrote:
> 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 I used `-O3 -pipe', because it wouldn't compile with the flags
> > I used for libm and setiathome: `-O3 -fno-exceptions -fno-rtti
> > -funroll-loops -fomit-frame-pointer -fno-strict-aliasing
> > -fno-common -pipe'.  Since I normally use `-O -pipe', I'm hoping
> > there are people here who can give me optimization suggestions. 
> > Would making it i686 only help?
>
> Yes, you should compile it with CPUTYPE=i686; I recommend against -O2
> or especially -O3 in case it creates broken code.

I think multiple versions for FreeBSD is important. Linux has 386 and 
686 versions. I think that is why they out perform what I am 
generating. Right now, a Windows command line version  will process 1/4 
more wus than the FreeBSD version will.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



More information about the freebsd-ports mailing list