On Wed, 5 Mar 2003, Brendan Bispham wrote:
> >
> > [EMAIL PROTECTED]:~/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
_______________________________________________
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: [EMAIL PROTECTED]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: [EMAIL PROTECTED]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

Reply via email to