Re: Solaris 2.6 compile & install: How-I-did-it



I have been setting the CFLAGS environment var to take care of this.  That
way you don't have to think before you run ./configure.  As it should be in
my opinion.  ;)

BK

Quoting Paul Barnfather (plb@clanger9.demon.co.uk):
> Drazen Kacar wrote:
> > 
> > Paul Barnfather wrote:
> > 
> > > All tarballs mostly compiled with:
> > >       gunzip -c <tarball-name.gz> | tar xvf -
> > >       cd <tarball-name>
> > >       ./configure
> > 
> > This is way too suboptimal. By default, gcc generates sparcv7 code.
> > This means it won't use multiply and division instructions which all other
> > SPARCs have. Instead you'll have function calls. Since multiply
> > instruction takes only one processor cycle, function call for the usual
> > multiplication algorithm is really an overkill.
> 
> Ack! I had no idea. It seems -msupersparc is what I want for my '10.
> 
> Now that I have got the shared libs more sussed, I will try a rebuild,
> see how it goes.
> 
> You learn something new every day...



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]