c++ - Stub Libraries in Digital Mars
- Thornton Reed (9/9) Apr 29 2006 Hi,
- Bertel Brander (10/18) Apr 29 2006 I think that you need to create a dmc library, and link to that,
Hi, I'm very new to making use of 'open source' libraries in my C programs. I'm currently trying to use the GD graphics library. This library can be used by linking my program to a dll. The documentation of this library states that 'users can simply link with the provided libbgd.a stub library in order to use the DLL'. How would I go about linking this stub library to my C program using Digital Mars? What command should I use at the Command Line? Thanks for any help you can offer, T
Apr 29 2006
Thornton Reed wrote:Hi, I'm very new to making use of 'open source' libraries in my C programs. I'm currently trying to use the GD graphics library. This library can be used by linking my program to a dll. The documentation of this library states that 'users can simply link with the provided libbgd.a stub library in order to use the DLL'. How would I go about linking this stub library to my C program using Digital Mars? What command should I use at the Command Line?I think that you need to create a dmc library, and link to that, instead of the gcc .a version. You do that by using implib. You can read how to create the lib and link to it here: http://home20.inet.tele.dk/midgaard/tipwin20060212.html -- Absolutely not the best homepage on the net: http://home20.inet.tele.dk/midgaard But it's mine - Bertel
Apr 29 2006