Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: abel@bfr.co.il (Alexander L. Belikoff)
To: axp-list@redhat.com
Subject: Re: shared version of CPML (was Re: seti at home)
Date: 16 Jul 1999 19:37:31 +0300	[thread overview]
Message-ID: <m33dyo360k.fsf@vermis.bfr.co.il> (raw)
In-Reply-To: "Wes Bauske"'s message of "Fri, 16 Jul 1999 11:53:47 -0500"

"Wes Bauske" <wsb@paralleldata.com> writes:

> "Christopher T. Lansdown" wrote:
> > 
> > Well,
> >         I once found some program that wouldn't compile with -lcpml, it
> > needed something in -lm, so I ended up doing -lcpml -lm and it worked.  It
> > may be a gnu extension or something, but I wouldn't recommend replacing
> > your libm with the cpml.  You probably won't run into much trouble, but
> > you never know.
> 
> I've observed something similar but I'm wondering if it was
> just a linker behavior. I've noticed if one builds archives
> that are interdependent (a in -la calls b in -lb calls c in -la)
> one can get undefined references if you don't put libs on
> the link as "-la -lb -la". Anyone else noticed this or is
> there another way to fix it? (no time to unravel the interdependence)
> 

AFAIK, that is the standard behavior of ld in UNIX. Hence the:

	-lc -lpthread -lc

tail for example...

-- 
Alexander L. Belikoff
Bloomberg L.P. / BFM Financial Research Ltd.
abel@vallinor4.com, abel@bfr.co.il


  reply	other threads:[~1999-07-16 18:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <B022A6F89A0CD82CC22567AD00596993.00596DC7C22567AD@ray.fi>
1999-07-14 17:38 ` seti at home Iso-H
1999-07-15 12:39   ` Andrew Lagodzinski
1999-07-15 15:22   ` Andrew Lagodzinski
1999-07-16  8:53   ` Max Weninger
1999-07-16 10:38     ` Stefan Schroepfer
1999-07-16 10:51       ` shared version of CPML (was Re: seti at home) Roman Martonak
1999-07-16 15:14         ` Christopher T. Lansdown
1999-07-16 16:53           ` Wes Bauske
1999-07-16 16:37             ` Alexander L. Belikoff [this message]
1999-07-16 22:20               ` Wes Bauske
1999-07-19  9:13             ` Stefan Schroepfer
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