Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem for compiling Boost 1.53
From: julien.plu_at_[hidden]
Date: 2013-03-01 17:21:41


If I run the link manually with this command (it's the first one in the
previous out.txt) :

"g++" -L"C:\Python27\libs" -Wl,-R -Wl,"C:\Python27\libs"
"-Wl,--out-implib,bin.v2\libs\python\build\gcc-mingw-4.7.2\release\libboost_
python-mgw47-1_53.dll.a" -o
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\libboost_python-mgw47-1_53
.dll" -shared -Wl,--start-group
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\numeric.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\list.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\long.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\dict.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\tuple.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\str.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\slice.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\converter\from_python.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\converter\registry.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\converter\type_id.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\object\enum.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\object\class.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\object\function.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\object\inheritance.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\object\life_support.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\object\pickle_support.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\errors.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\module.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\converter\builtin_converte
rs.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\converter\arg_to_python_ba
se.o" "bin.v2\libs\python\build\gcc-mingw-4.7.2\release\object\iterator.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\object\stl_iterator.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\object_protocol.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\object_operators.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\wrapper.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\import.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\exec.o"
"bin.v2\libs\python\build\gcc-mingw-4.7.2\release\object\function_doc_signat
ure.o" -Wl,-Bstatic -Wl,-Bdynamic -lpython27 -Wl,--end-group -Wl,-t

And the result is in the out.txt in attachment.

Best regards.

Julien.

-----Message d'origine-----
De : Boost-users [mailto:boost-users-bounces_at_[hidden]] De la part de
Steven Watanabe
Envoyé : vendredi 1 mars 2013 22:45
À : boost-users_at_[hidden]
Objet : Re: [Boost-users] Problem for compiling Boost 1.53

AMDG

On 03/01/2013 12:32 PM, julien.plu_at_[hidden] wrote:
> Hi,
>
> Thanks for your answer and your help. I need Python because I work on
> a project which use it.
>
> I added "linkflags=-Wl,-t" to the compilation line and the result is
> in the out.txt file.
>

Oops. I forgot that Boost.Build treats "," specially.
Can you run the link command manually with -Wl,-t?

In Christ,
Steven Watanabe
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users




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