Mail Archives: djgpp/1998/09/21/05:25:52
On Sun, 20 Sep 1998 20:08:55 Brian Bacon wrote:
>Ok, I have the headers and the *.LIBs but how to I make the import
>libraries?
>
>-Brian
Just run makelib. For example, say you need to make the import library for opengl32.dll. Just go to the directory where you want to create the import library and type:
makelib c:\windows\system\opengl32.dll
This will create a library (with the extension .a) in the current directory (in this case, it would create opengl32.a).
Note that gcc expects library filenames to begin with lib, so rename accordingly (example: libogl32.a)
Then, specify -logl32 in your gcc link command line.
Free web-based email, Forever, From anywhere!
http://www.mailexcite.com
- Raw text -