
14 Sep
2007
14 Sep
'07
8:27 p.m.
Beman Dawes wrote:
Compile and test (cygwin) =========================
g++ -o static_test caller.cpp callee.cpp static_test
g++ -c callee.cpp
You'd better off with: g++ -c -fPIC callee.cpp
g++ -shared -o callee.dll callee.o g++ -o dll_test caller.cpp -L./ -lcallee
This -L./ sounds strange. What's wrong with: -L. ? I don't think that either of those things should cause a backtrace, but everything is possible with cygwin. Does it work with mingw? - Volodya