[MacPorts] #38239: boost builds but does not run
MacPorts
noreply at macports.org
Fri Mar 1 11:19:09 PST 2013
#38239: boost builds but does not run
--------------------------+---------------------------
Reporter: steenparl@… | Owner: adfernandes@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: boost |
--------------------------+---------------------------
Comment (by steenparl@…):
Replying to [comment:4 adfernandes@…]:
> Works just fine for me with both
> {{{
> /usr/bin/clang++ -I /opt/local/include -L /opt/local/lib main.cpp
-lboost_thread-mt -lboost_system-mt -o main
> }}}
> and
> {{{
> g++-mp-4.7 -I /opt/local/include -L /opt/local/lib main.cpp
-lboost_thread-mt -lboost_system-mt -o main
> }}}
> or
> {{{
> /usr/bin/clang++ -I /opt/local/include main.cpp /opt/local/lib
/libboost_thread-mt.a /opt/local/lib/libboost_system-mt.a -o main
> }}}
> and
> {{{
> g++-mp-4.7 -I /opt/local/include main.cpp /opt/local/lib
/libboost_thread-mt.a /opt/local/lib/libboost_system-mt.a -o main
> }}}
>
> Can you run your test program under the debugger (either `gdb` or
`lldb`)?
>
> You might want to add the `-g` debugging flags to the compilation of
`main.cpp` for that. You should '''not''' need to install the `debug`
variant of `boost`!
Thank you for that. I copied your lines and they both work for me, except
for the "-mp-4.7" which my system doesn't seem to recognize. This shows, I
assume, that the macport is fine and the problem I am having must be in
xCode, where I still have the problem. Thanks again for your help.
--
Ticket URL: <https://trac.macports.org/ticket/38239#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list