delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/07/19:01:47

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Linker Invocation: Filenames not "libXXX.a" ?
Date: Wed, 07 Jan 1998 18:44:11 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 17
Message-ID: <34B4134B.6E29@cs.com>
References: <01bd17be$0cfbde20$LocalHost AT kwe1>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp217.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Joshua Eckstein wrote:
> 
> Is there a way to link with libraries with filenames other than "libXXX.a"?
> Like, link a library called "mgllt.a"?

Specify the full path and filename of the library explicitly on the
command line, i.e.:

  gcc -o myprog.exe myprog.o c:/mgllt/lib/mgllt.a

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "Sex should be friendly.  Otherwise  |
|       aka Fighteer I       | stick to mechanical toys; it's more  |
|   mailto:fighteer AT cs DOT com   | sanitary."                           |
| http://www.cs.com/fighteer |                - Lazarus Long        |
---------------------------------------------------------------------

- Raw text -


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