From: "John M. Aldrich" 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 | ---------------------------------------------------------------------