From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: shared version of CPML (was Re: seti at home)
Date: Fri, 16 Jul 1999 17:20:48 -0500 [thread overview]
Message-ID: <378FB040.2B8BE1BD@paralleldata.com> (raw)
In-Reply-To: m33dyo360k.fsf@vermis.bfr.co.il
"Alexander L. Belikoff" wrote:
>
> "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
>
I don't have to do that on other platforms, either
that, or I've been lucky on them?? (Solaris/AIX/IRIX)
I can see how one could build tricky binaries with it.
For example, you have the same module name with two
slightly different versions, (for some reason), and
want one part of your code to use one version and some
other to use the other one.
Wes
next prev parent reply other threads:[~1999-07-16 22:18 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
1999-07-16 22:20 ` Wes Bauske [this message]
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