g++ and DLL linking

Q

Qu0ll

I am using g++ under Eclipse which lets you create a shared library from
your code (which under Windows is a DLL) but how can I then link with that
shared library in another project? Does g++ let you link with a DLL? There
doesn't seem to be any option to specify this. The -l option only appears
to work with static libraries.

--
And loving it,

-Qu0ll (Rare, not extinct)
_________________________________________________
(e-mail address removed)
[Replace the "SixFour" with numbers to email me]
 
Q

Qu0ll

I am using g++ under Eclipse which lets you create a shared library from
your code (which under Windows is a DLL) but how can I then link with that
shared library in another project? Does g++ let you link with a DLL?
There doesn't seem to be any option to specify this. The -l option only
appears to work with static libraries.

Never mind, I figured it out.

--
And loving it,

-Qu0ll (Rare, not extinct)
_________________________________________________
(e-mail address removed)
[Replace the "SixFour" with numbers to email me]
 

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,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top