X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Trace-PostClient-IP: 68.147.131.211 From: Brian Inglis Newsgroups: comp.os.msdos.djgpp Subject: Re: Creating libraries with g77 Fortran Organization: Systematic Software Message-ID: References: X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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" 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