From: xmerm05 AT vse DOT cz (Mertl Michal - UC,,student,UID=22797) Newsgroups: comp.os.msdos.djgpp Subject: Re: HELP - linking a ".lib" int my exe Date: Fri, 5 Sep 1997 11:51:47 GMT Organization: University of Economy, Prague Lines: 19 Message-ID: References: <5un7t7$kbh$1 AT News DOT Dal DOT Ca> NNTP-Posting-Host: j357h10.vse.cz To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk an118 AT chebucto DOT ns DOT ca (Graham Howard Wile) wrote: >!!!--Nothing--!!! But from subject I think you're trying to link different type of library ( .lib produced by Borland?), what it impossible. If you're trying to link in libxxxx.a you can do this by: 1)adding the filename at the end of command line 2)adding -lxxxx at the end of command line assuming the file is in directories specified in djgpp.env as library directories (sorry don't remember the name of variable) if it isn't you'd have to add -Lpath_to_file also. 3)in RHIDE write xxxx into options/libraries menu and check the checkbox next to it, again it has to be in search path or you have to put the path to options/directories/library. HTH and next time post more so we know what you tlaking about Michal "MiMe" Mertl E-Mail: XMERM05vse.cz