Date: Sat, 3 Jan 1998 11:39:45 -0800 (PST) Message-Id: <199801031939.LAA26819@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "Joshua Eckstein" , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Linking with Non-normal Library Filenames Precedence: bulk At 11:51 1/2/1998 GMT, Joshua Eckstein wrote: >Is there a flag I can use with the linker to force it to link in a library >with a certain filename, without renaming it "libFILE.a" (with that "lib" >prefix?) ? For example, linking in the library "abcde.a"? Yes. Just add the library's file name to the link command line. (Watch out for the one-pass linker; see FAQ section 8.9.) gcc -o myprog foo.o bar.o baz.o abcde.a Nate Eldredge eldredge AT ap DOT net