Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] g++ 4.3.0

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Ismael Luceno <ismael.luceno AT gmail.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] g++ 4.3.0
  • Date: Wed, 9 Apr 2008 23:57:28 -0300

El Wed, 9 Apr 2008 13:49:20 -0700
Eric K Sandall <eric AT sandall.us> escribió:

> On Wednesday 09 April 2008 11:14:55 Remko van der Vossen wrote:
> > On Wed, Apr 09, 2008 at 10:21:52AM -0700, Eric K Sandall wrote:
> > > gcc/DEPENDS has the following:
> > > if [[ "$(installed_version mpfr|sed 's:\.::g')" < 230 ]]
> > > then
> > > force_depends mpfr
> > > fi &&
> > >
> > > Which *should* pull in mpfr if it has not already been updated to
> > > 2.3.1.
> >
> > uhmn.. (x < 230 or x >= 2.3.1) does not seem to be a tautology...
> >
> > Remko
>
> Worked here, feel free to fix it if it's broken. Note that all
> versions after 2.3.1 will be > 2.3.0 with the above code, which
> removes the "." characters. So if mpfr 2.3.1 (or newer) is not
> installed, gcc will force mpfr to be compiled before itself.
>
> -sandalle
>

There should be a function to compare versions, something like:

sver() {
echo $(( `sed -e 's/\./ * 2048 + /g'` ))
}

I guess 11bit padding is enough...

--
Ismael Luceno

Attachment: signature.asc
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page