|
Boost Users : |
From: RafaÅ Maj Raf256 (boost-news-ticket_at_[hidden])
Date: 2006-02-05 07:10:20
John Maddock wrote:
>>mingw executable is: i586-mingw32msvc-g++
> If you follow the links to the description of the gcc (or mingw) toolset
> you'll see that the environment variable GXX can be set to the name of the
> executable to use, you'll need to set that in addition to the usual mingw
> setup options described in
> http://www.boost.org/tools/build/v1/mingw-tools.html
I executed (long lines wrapped)
boost_1_33_1$ bjam -sTOOLS="mingw"
-sMINGW_ROOT_DIRECTORY="/usr/i586-mingw32msvc"
-sGCC="i586-mingw32msvc-gcc" -sGXX="i586-mingw32msvc-g++"
and I got:
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(and if you don't know what ICU is then you probably don't need it).
**** wide char i/o not supported by the mingw standard library ****
**** skipping build of
<@boost!libs!serialization!build>libboost_wserialization.a; toolset=
mingw variant= debug ****
**** wide char i/o not supported by the mingw standard library ****
**** skipping build of
<@boost!libs!serialization!build>libboost_wserialization.a; toolset=
mingw variant= debug ****
**** wide char i/o not supported by the mingw standard library ****
**** skipping build of
<@boost!libs!serialization!build>libboost_wserialization.a; toolset=
mingw variant= release ****
**** wide char i/o not supported by the mingw standard library ****
**** skipping build of
<@boost!libs!serialization!build>libboost_wserialization.a; toolset=
mingw variant= release ****
**** wide char i/o not supported by the mingw standard library ****
**** skipping build of
<@boost!libs!serialization!build>libboost_wserialization.so; toolset=
mingw variant= debug ****
**** wide char i/o not supported by the mingw standard library ****
**** skipping build of
<@boost!libs!serialization!build>libboost_wserialization.so; toolset=
mingw variant= debug ****
**** wide char i/o not supported by the mingw standard library ****
**** skipping build of
<@boost!libs!serialization!build>libboost_wserialization.so; toolset=
mingw variant= release ****
**** wide char i/o not supported by the mingw standard library ****
**** skipping build of
<@boost!libs!serialization!build>libboost_wserialization.so; toolset=
mingw variant= release ****
...found 10441 targets...
...updating 1234 targets...
gcc-C++-action
and then:
bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/execution_monitor.o
/home/raf256/cre.ext/boost_1_33_1/libs/test/build/../src/execution_monitor.cpp:1:
warning: -fPIC ignored for target (all code is position independent)
/usr/bin/objcopy:
bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/execution_monitor.o:
File format not recognized
set -e
"/usr/i586-mingw32msvc/bin/i586-mingw32msvc-g++" -c -Wall
-ftemplate-depth-255 -DBOOST_TEST_NO_AUTO_LINK=1 -g -O0 -fno-inline
-fPIC -mno-cygwin -I"bin/boost/libs/test/build" -I
"/home/raf256/cre.ext/boost_1_33_1" -o
"bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/execution_monitor.o"
"/home/raf256/cre.ext/boost_1_33_1/libs/test/build/../src/execution_monitor.cpp"
"/usr/bin/objcopy" --set-section-flags .debug_str=contents,debug
"bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/execution_monitor.o"
...failed gcc-C++-action
bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/execution_monitor.o...
...removing
bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/execution_monitor.o
gcc-C++-action
bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/cpp_main.o
/home/raf256/cre.ext/boost_1_33_1/libs/test/build/../src/cpp_main.cpp:1:
warning: -fPIC ignored for target (all code is position independent)
/usr/bin/objcopy:
bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/cpp_main.o:
File format not recognized
set -e
"/usr/i586-mingw32msvc/bin/i586-mingw32msvc-g++" -c -Wall
-ftemplate-depth-255 -DBOOST_TEST_NO_AUTO_LINK=1 -g -O0 -fno-inline
-fPIC -mno-cygwin -I"bin/boost/libs/test/build" -I
"/home/raf256/cre.ext/boost_1_33_1" -o
"bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/cpp_main.o"
"/home/raf256/cre.ext/boost_1_33_1/libs/test/build/../src/cpp_main.cpp"
"/usr/bin/objcopy" --set-section-flags .debug_str=contents,debug
"bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/cpp_main.o"
...failed gcc-C++-action
bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/cpp_main.o...
...removing
bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/cpp_main.o
...skipped
<@boost!libs!test!build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true>libboost_prg_exec_monitor-mgw-d-1_33_1.so
for lack of
<@boost!libs!test!build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true>execution_monitor.o...
gcc-C++-action
bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/threading-multi/execution_monitor.o
i586-mingw32msvc-g++: unrecognized option `-pthread'
/home/raf256/cre.ext/boost_1_33_1/libs/test/build/../src/execution_monitor.cpp:1:
warning: -fPIC ignored for target (all code is position independent)
/usr/bin/objcopy:
bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/threading-multi/execution_monitor.o:
File format not recognized
set -e
"/usr/i586-mingw32msvc/bin/i586-mingw32msvc-g++" -c -Wall
-ftemplate-depth-255 -DBOOST_TEST_NO_AUTO_LINK=1 -g -O0 -fno-inline
-pthread -fPIC -mno-cygwin -I"bin/boost/libs/test/build" -I
"/home/raf256/cre.ext/boost_1_33_1" -o
"bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/threading-multi/execution_monitor.o"
"/home/raf256/cre.ext/boost_1_33_1/libs/test/build/../src/execution_monitor.cpp"
"/usr/bin/objcopy" --set-section-flags .debug_str=contents,debug
"bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/threading-multi/execution_monitor.o"
...failed gcc-C++-action
bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/threading-multi/execution_monitor.o...
...removing
bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/threading-multi/execution_monitor.o
gcc-C++-action
bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/threading-multi/cpp_main.o
i586-mingw32msvc-g++: unrecognized option `-pthread'
/home/raf256/cre.ext/boost_1_33_1/libs/test/build/../src/cpp_main.cpp:1:
warning: -fPIC ignored for target (all code is position independent)
/usr/bin/objcopy:
bin/boost/libs/test/build/libboost_prg_exec_monitor.so/mingw/debug/shared-linkable-true/threading-multi/cpp_main.o:
File format not recognized
Why bjam is trying to create .so instead of .dll's? And what about the
problem with -fPIC?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net