Xref: news2.mv.net comp.os.msdos.djgpp:6264 From: Enrico Horn Newsgroups: comp.os.msdos.djgpp Subject: Re: Linking into a library using DJGPP 2.0 Date: Mon, 22 Jul 1996 11:41:02 +0200 Organization: Technische Universitaet Ilmenau Lines: 26 Message-ID: <31F34CAE.D22@prakinf.tu-ilmenau.de> References: <4s5t3g$b9m AT geraldo DOT cc DOT utexas DOT edu> NNTP-Posting-Host: ipisparc4.prakinf.tu-ilmenau.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Maan M. Hamze" DJ-Gateway: from newsgroup comp.os.msdos.djgpp Maan M. Hamze wrote: > > I looked into the docs that come with DJGPP ver2, and I can not seem > to find the command line switches that I should use to link objects > (or assemble and compile and link) into a libray (not an exe). Can > someone give an example of the command line switches needed to do > that. > Thanks. Hi, I think there ain't no such switches because theres a program which does that task called ar. It should be in your djgpp/bin directory. And there is also a info file about that (I think under "utilities"). You should look there for command line switches for ar. You should also look in the make files of GRX or SWORD (ar is used there). Regards, Enrico. -- /---------------------------------------------------------------------\ |Enrico Horn Tel. 036738/41929 | |07426 Lichta E-mail: enrico DOT horn AT prakinf DOT tu-ilmenau DOT de | |Ortsstrasse Nr. 14 http://www.prakinf.tu-ilmenau.de/~ehorn | \---------------------------------------------------------------------/