X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Fausto Arinos de A. Barbuto" Newsgroups: comp.os.msdos.djgpp Subject: Re: Creating libraries with g77 Fortran Date: Fri, 9 Apr 2004 00:11:46 -0600 Organization: Knights of the Round Table Lines: 40 Message-ID: References: NNTP-Posting-Host: 198.53.160.25 X-Trace: news.uni-berlin.de 1081491113 92121664 I 198.53.160.25 ([184581]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Brian, Many thanks from Edmonton, AB. ---Fausto "Brian Inglis" wrote in message news:ftec709elprju8ru11871q66k8f4go2n94 AT 4ax 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 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.654 / Virus Database: 419 - Release Date: 06/04/2004