delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/04/09/02:15:14

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Trace-PostClient-IP: 68.147.131.211
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT Invalid>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Creating libraries with g77 Fortran
Organization: Systematic Software
Message-ID: <ftec709elprju8ru11871q66k8f4go2n94@4ax.com>
References: <c5587t$2pcm9t$1 AT ID-184581 DOT news DOT uni-berlin DOT de>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Lines: 22
Date: Fri, 09 Apr 2004 06:03:52 GMT
NNTP-Posting-Host: 24.71.223.147
X-Complaints-To: abuse AT shaw DOT ca
X-Trace: pd7tw2no 1081490632 24.71.223.147 (Fri, 09 Apr 2004 00:03:52 MDT)
NNTP-Posting-Date: Fri, 09 Apr 2004 00:03:52 MDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Thu, 8 Apr 2004 22:19:03 -0600 in comp.os.msdos.djgpp, "Fausto
Arinos de A. Barbuto" <fbarbuto2002 DOT no AT spam DOT yahoo DOT ca> wrote:

>    Is there a way to create a library (.LIB in MS Fortran/Profort extension
>    notation) from a set of *.o object files using the g77 Fortran-77 compiler?

	ar libxxxx.a *.o
for more info:
	info ar

>    How? And how should one link this library to another object file? I
>    understand that libraries created with g77 have the *.a, is that correct?

add loader options:
	-Ldir -lxxxx
to the command line. 

-- 
Thanks. Take care, Brian Inglis 	Calgary, Alberta, Canada

Brian DOT Inglis AT CSi DOT com 	(Brian dot Inglis at SystematicSw dot ab dot ca)
    fake address		use address above to reply

- Raw text -


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