tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: mel1003 () phy ! cam ! ac ! uk (Martin Lally)
To: tru64-unix-managers
Subject: no subject (file transmission)
Date: Thu, 31 Jul 1997 14:40:13 +0000	[thread overview]
Message-ID: <96078614710681.tru64-unix-managers.marc@archive.invalid> (raw)


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     *
 **************************************************************** 

                 reply	other threads:[~1997-07-31 14:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox