From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 15120 invoked from network); 16 Jul 1999 18:23:59 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 16 Jul 1999 18:23:59 -0000 Received: from buster.bfr.co.il (root@morannon.bfr.co.il [192.116.142.129]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA15388 for ; Fri, 16 Jul 1999 14:16:18 -0400 Received: from vermis.bfr.co.il (vermis.bfr.co.il [128.253.154.43]) by buster.bfr.co.il (8.8.5/8.8.5) with ESMTP id VAA14714 for ; Fri, 16 Jul 1999 21:16:12 +0300 Received: (from abel@localhost) by vermis.bfr.co.il (8.9.3/8.8.5) id TAA15426; Fri, 16 Jul 1999 19:37:31 +0300 Sender: abel@bfr.co.il To: axp-list@redhat.com Subject: Re: shared version of CPML (was Re: seti at home) References: <378F639B.EF2D0A44@paralleldata.com> Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII From: abel@bfr.co.il (Alexander L. Belikoff) Date: 16 Jul 1999 19:37:31 +0300 In-Reply-To: "Wes Bauske"'s message of "Fri, 16 Jul 1999 11:53:47 -0500" Message-ID: X-Mailer: Gnus v5.6.45/XEmacs 20.4 - "Emerald" "Wes Bauske" 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