Boost logo

Boost-Build :

Subject: Re: [Boost-build] having trouble compiling with gcc
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2011-10-10 18:25:51


Le 10/10/11 23:53, Robert Ramey a écrit :
> After many month of not doing this, I'm running boost build with my cygwin
> gcc compiler and having lots of trouble. I don't think this is a boost build
> issue per se, but rather a side effect of something in my setup.
> Unfortunately I can no way figure out what it is. Perhaps someone might
> recognise my symtoms and offer a diagnosis.
>
> > From my mks korn shell I run
>
> $ bjam -n --dump-tests toolset=gcc
> C:/BoostRelease/tools/build/v2/tools\gcc.jam:77: in gcc.init from module gcc
> error: toolset gcc initialization:
> error: provided command 'g++-4' not found
> error: initialized from C:\BoostRelease\tools/build/v2\user-config.jam:46
> C:/BoostRelease/tools/build/v2/build\toolset.jam:38: in toolset.using from
> modul
> e toolset
> C:/BoostRelease/tools/build/v2/build\project.jam:888: in using from module
> proje ...
>
> $ echo $PATH
> c:/cygwin/bin;./;c:/Program
> Files/MKS/mksnt;c:/bin;c:/menu;C:\WINDOWS\System32\W
> bem;C:\Program Files\CollabNet Subversion
> Server;C:\WINDOWS\System32;C:\Program
> Files\TortoiseSVN\bin;C:\Program Files\MecSoft Corporation\Alibre
> CAM;C:\Program
> Files\QuickTime\QTSystem\;C:\Program Files\Agilent\IO Libraries
> Suite\bin;C:\Pr
> ogram Files\IVI Foundation\VISA\WinNT\agvisa;C:\Program Files\IVI
> Foundation\IVI
> \bin;C:\Program Files\IVI Foundation\VISA\WinNT\Bin\;C:\Program
> Files\Microsoft
> SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL
> Server\100\DTS\Binn\
>
> $ g++-4 -v
> Using built-in specs.
> COLLECT_GCC=g++-4
>
>
> Has anyone else had a similar problem and found the right solution? any
> advice appreciated.
Hi Robert,

where do you find g++-4?

$$ which g++-4

Best,
Vicente


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