[SM-Discuss] g++ 4.3.0

Eric K Sandall eric at sandall.us
Wed Apr 9 16:49:20 EDT 2008


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

-- 
Eric Sandall                     |  Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61  |  http://www.sourcemage.org/
http://eric.sandall.us/          |  http://counter.li.org/  #196285

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20080409/728995bc/attachment.bin 


More information about the SM-Discuss mailing list