statically link with third-party C++ libary

S

sam

Hi,

After compiled and linked with a third-party C++ library ACE in FreeBSD
5.4, apart from copying my program over, I found that I also need to
copy the libace..so.5.4.1 file to the target system as well.

I found somewhere in the internet mentioned that I can compile the
program static link with ACE, but it didn't describe the detail of how
to do that in Unix.

Can anyone please tell me how to static link a C++ program with a
third-party C++ library like ACE in Unix?

Thanks
Sam
 
V

Victor Bazarov

sam said:
[...]
Can anyone please tell me how to static link a C++ program with a
third-party C++ library like ACE in Unix?

Please ask in a Unix newsgroup. This is not a language question.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top