www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/03/02:25:45

Xref: news-dnh.mv.net comp.os.msdos.djgpp:94
Path: news-dnh.mv.net!mv!news.sprintlink.net!gatech!concert!hearst.acc.Virginia.EDU!portal.gmu.edu!osf1.gmu.edu!ldoan1
From: Long Doan <ldoan1 AT osf1 DOT gmu DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP libraries
Date: Wed, 31 May 1995 23:07:42 -0400
Organization: George Mason University, Fairfax, Virginia, USA
Lines: 23
References: <3qi92n$vph AT coranto DOT ucs DOT mun DOT ca>
Nntp-Posting-Host: osf1.gmu.edu
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

On 31 May 1995, Elliott Noel wrote:

> 
>   I've been using DJGPP for a few months now, and have sucessfully converted many of my 
> old routines and created new ones with it.  I was just wondering if anyone knows how to 
> creat library files wiht djgpp, as i would like to compile some of my often used 
> functions into a complete library so i don't have to link them in individually.
> 
>   Although the compiler is really great, I have been finding the documentation hard to 
> use.  If someone knows how to create linkable libraries with DJGPP, please email me.

  Have you tried:

ar libtest.a test1.o

and link your program with -ltest ? (Make sure that libtest.a is in the
library search path.)

+--------------------------------------------------------+
| Long Doan                          ldoan1 AT osf1 DOT gmu DOT edu |
|                                          ld AT netrix DOT com |
+--------------------------------------------------------+

- Raw text -


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