From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078614710681.tru64-unix-managers.marc@archive.invalid> From: mel1003 () phy ! cam ! ac ! uk (Martin Lally) Date: Thu, 31 Jul 1997 14:40:13 +0000 To: tru64-unix-managers Subject: no subject (file transmission) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078614710681 Dear All, We have a problem with compiling/linking object files using a library archive file created with ar. If we state the file names on the command line than everything works O.K.. However, if we first archive the object files into an archive file using ar then not all the routines are linked. To make matters worst, there are no error message or warning. The only way to check is to test for the existence of the string "&WANRING: zd1 set to tiny" which is in deriv_comp.o. Any suggestion why this should be? Example: This Works: > f90 qpe.o funct2.o deriv_comp.o -lnagdx ~/lib/alpha/libflib.a > strings a.out | grep tiny &WANRING: zd1 set to tiny Archive: > ar rv mom.a qpe.o funct2.o deriv_comp.o This does not work: > f90 mom.a -lnagdx ~/lib/alpha/libflib.a > strings a.out | grep tiny > Contents of archive mom.a ________64ELEL_ qpe.o funct2.o deriv_comp.o Platform/Versions: DEC Alpha 3000/600 DU v4.0b F90/F77 v4.0 ar v4.1? Thanks, Martin. **************************************************************** * Mr. Martin E. Lally | Email : mel1003@phy.cam.ac.uk * * Cavendish Laboratory | Room : 545/713 Pager: 174 * * Cambridge University | Tel : +44-01223-337 386,431 * * Cambridge CB3 0HE (UK) | Fax : +44-01223-363 263 * ****************************************************************