Boost logo

Boost-Build :

Subject: Re: [Boost-build] gcc visibility support patch
From: Jürgen Hunold (juergen.hunold_at_[hidden])
Date: 2010-06-15 08:37:32


Hi Philipp,

On Tuesday, 15. June 2010 12:56:16 you wrote:
> * Jürgen Hunold (juergen.hunold_at_[hidden]) [20100604 12:16]:
> > + real-version = [ MATCH "^([0-9.]+)"
> >
> > : [ SHELL "$(command-string) -dumpversion" ] ] ;
>
> Uhohh, boost.build is using the -dumpversion option? That's a grave error
> that the Vmware folks also did. -dumpversion only returns major and minor
> versions and not the complete version.

I echoed the version and got full "4.4.3" which is Major.Minor.Patch.
And manually checked it again now.

> You need to parse the output of
> --version to get the complete version.

That would "gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3"

I doubt that we want Boost.Build behaviour depending on "-4ubuntu5".

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk