From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 22326 invoked from network); 19 Jan 1999 19:00:35 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 19 Jan 1999 19:00:35 -0000 Received: from hotmail.com (f93.hotmail.com [207.82.250.199]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id NAA25644 for ; Tue, 19 Jan 1999 13:35:23 -0500 Received: (qmail 21150 invoked by uid 0); 19 Jan 1999 18:35:18 -0000 Message-ID: <19990119183517.21147.qmail@hotmail.com> Received: from 24.0.139.66 by www.hotmail.com with HTTP; Tue, 19 Jan 1999 10:35:17 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 10:35:17 PST Mime-Version: 1.0 Content-Type: text/plain Hey Jaap, 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. > > >Cheers -- Jaap ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com