Boost logo

Boost-Build :

Subject: [Boost-build] Building libraries for gcc with cygwin
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2012-10-16 13:18:14


I have gcc at C:\cygwin\bin\gcc.exe
 
and g++ C:\cygwin\bin\g++.exe
 
(using NetBeans to compile things OK, but now I need the Boost libraries like Boost.Test)
 
I have boost-trunk at my I: partition, and have built the MSVC libraries OK.
 
cd /cygdrive/i/boost-trunk
 
and doing a b2 thus
 
b2 -a --build-dir=/cygdrive/i/boost-trunk toolset=gcc --build-type=complete --without-python
--without-mpi stage threading=multi > build_gcc_dll_libs_trunk_16Oct12.log 2>&1
 
Should I be concerned that gcc visibility says no.
 
    - g++ -shared-* supported : yes
    - gcc visibility : no
 
But clearly something is going horribly wrong from the rest of the messages L (Full log attached)
 
I:/boost-trunk/tools/build/v2/build\virtual-target.jam:1106: in virtual-target.register-actual-name
from module virtual-target
error: Duplicate name of actual target: <pstage\lib>libboost_exception-gcc34-mt-d-1_52.a
error: previous virtual target { common%common.copy-libboost_exception-gcc34-mt-d-1_52.a.STATIC_LIB
{ gcc%gcc.archive-libboost_exception-gcc34-mt-d-1_52.a.STATIC_LIB {
gcc%gcc.compile.c++-clone_current_exception_non_intrusive.o.OBJ {
clone_current_exception_non_intrusive.cpp.CPP } } } }
error: created from ./stage-proper
error: another virtual target { common%common.copy-libboost_exception-gcc34-mt-d-1_52.a.STATIC_LIB {
gcc%gcc.archive-libboost_exception-gcc34-mt-d-1_52.a.STATIC_LIB {
gcc%gcc.compile.c++-clone_current_exception_non_intrusive.o.OBJ {
clone_current_exception_non_intrusive.cpp.CPP } } } }
error: created from ./stage-proper
error: added properties: none
 
Suggestions on what I am doing wrong most welcome?
 
Paul
 

---
Paul A. Bristow,
Prizet Farmhouse, Kendal LA8 8AB  UK
+44 1539 561830  07714330204
pbristow_at_[hidden]
 





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