in reply to Re^2: use Inline CPP to call function in so file not working
in thread use Inline CPP to call function in so file not working
as I followed the instructions and examples there then end up with this question. I think other perl user will proberbly ask the same.
While I believe adding examples is good, I doubt other perl users will probably ask the same, because 90% of the time you're connecting to an existing libfoobar.a you're not creating your own libfoobar.a (which is regular c/c++ programming)
Answers from Anonymous Monk:
You're confused by PerlMonks codewrapping feature, I never suggested -l+say_hi , I suggested you create a libsay_hi.a through whatever means, so that when you say -lsay_hi and g++/gcc/ld looks for libsay_hi.a it can find one
|
|---|