From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 12057 invoked from network); 20 Jan 1999 05:44:19 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 20 Jan 1999 05:44:19 -0000 Received: from hotmail.com (f242.hotmail.com [207.82.251.133]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id AAA22637 for ; Wed, 20 Jan 1999 00:18:54 -0500 Received: (qmail 2165 invoked by uid 0); 20 Jan 1999 05:18:26 -0000 Message-ID: <19990120051826.2164.qmail@hotmail.com> Received: from 24.0.139.66 by www.hotmail.com with HTTP; Tue, 19 Jan 1999 21:18:26 PST X-Originating-IP: [24.0.139.66] From: "Designer 7" To: axp-list@redhat.com Subject: Re: libffm and LD_PRELOAD, a tip Date: Tue, 19 Jan 1999 21:18:26 PST Mime-Version: 1.0 Content-Type: text/plain Hi Jaap, Ok.. so your tip worked great,.. I just had to recompile libffm as a shared library... however, I noticed that libffm gets loaded ALL the time, even if a program doesn't need libm/libffm... is this a good thing? or is the penalty of loading an extra lib all the time insignificant? D. > >That's a pretty cool tip.. I never knew you could do that. By the way, >do you know where in the system I can read about (either doc or source >code) how that environment variable is used? > >Thanks. > >D. > > >>Fro those of you that want the extra speed of libffm and do not want >>to recompile large packages (octave for example takes a lot of time to >>recompile) setting a LD_PRELOAD environent does the trick. >> >>I use "setenv LD_PRELOAD /usr/local/lib/libffm.so.1" (csh obviously) >> >>if i now do a ldd on a file, libffm gets listed first. I did some tests >>and it works fine on my system. To be honest i learned this from the >>bladeenc author after I asked him is he could link his (binary-only) >>program with the faster libs. Using this trick bladeenc runs about 25% >>faster in my box. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com