delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/21/05:25:52

To: "Brian Bacon" <kyberteknik AT geocities DOT com>
Date: Mon, 21 Sep 1998 02:25:03 -0700
From: "Doug Gale" <dgale AT mailexcite DOT com>
Message-ID: <LCHLHCECBHLBAAAA@mailexcite.com>
Mime-Version: 1.0
Cc: djgpp AT delorie DOT com
Subject: Re: OpenGL & RSXNT
Organization: MailExcite (http://www.mailexcite.com:80)

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019