On Wed, 5 Mar 2003, Brendan Bispham wrote: > > > > james@xxxxxx:~/tmp/tn5250/src> ldd tn5250 > > not a dynamic executable > > > > so ./tn5250 should be fine. > > So do I, so I did a less and it looks like a bash script... I don't get it. Is > the tn5250 a script until 'make install'? Does it GCC the tn5250 binary on > the fly? What voodoo going on here? Oh yeah - duh, tn5250 is a script. Right near the top is: relink_command=" < whole bunch of stuff here > gcc -g -O2 -o \$progdir/\$file tn5250.o ./.libs/lib5250.so < some more stuff > " that relink_command shows it is using the libs in .libs within the current directory. That contains the libraries we just built. So ./tn5250 does indeed do just what we want (i.e. it doesn't use the installed lib5250.so but instead uses the version just built). James Rich
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.