SPUG: perl built with static or dynamic loading
jimfl
jimfl at colltech.com
Tue Feb 29 13:11:18 CST 2000
--Quoth Mark Mertel <mmertel at ix.netcom.com> On Tuesday, February 29, 2000
10:20 AM -0800:
> is there an easy command-line option to determine hether perl has
> been built with static or dynamic loading ?
If you should be able to find evidence of this in the Config variable
lddlflags. From the command line, you can:
perl -V:lddlflags
and from inside a perl program
use Config;
if ($Config{lddlflags} =~ /shared/) {}
In general, you should be able to look for a '-shared' or a '-static'
flag, but this might not be foolproof dependinf upon what compiler/loader
was used to build perl.
--
Jim Flanagan Collective Technologies
jimfl at colltech.com http://www.colltech.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
Email to majordomo at pm.org: ACTION spug-list your_address
More information about the spug-list
mailing list