[MacPorts] #38239: boost builds but does not run
MacPorts
noreply at macports.org
Thu Feb 28 18:28:30 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 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
}}}
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`!
--
Ticket URL: <https://trac.macports.org/ticket/38239#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list