ldopts
Outputs arguments for linking the Perl library and extensions to your application. When invoked as:
the following options are recognized:perl -MExtUtils::Embed -e ldopts -
Output arguments for linking the Perl library and any extensions linked with the current Perl.
Search path for
ModuleName.a
archives. Default is
@INC
.
Additional linker arguments to be considered.
Any additional arguments found before the -- token are taken as the names of modules to generate code for. Can also be called with parameters:
When called this way, returns the argument string rather than printing it to STDOUT. The optional parameters are:'ldopts($std,[@modules],[@link_args],$path)'
Boolean, equivalent to the -std option.
Array reference, equivalent to adding module names before the -- token.
Array reference, equivalent to adding linker arguments after the -- token.
Equivalent to the -I option.
Copyright © 2001 O'Reilly & Associates. All rights reserved.