M
Mirco Wahab
Hi folks,
after fiddling around with some C++-to-perl
calls and evals (perldoc perlembed), I'm
not sure what to do now.
Maybe I'm linking the app w/perl by the options
provided by `perl -MExtUtils::Embed -e perl_inc`
and `perl -MExtUtils::Embed -e ldopts -- -std`.
The default Perl-Build creates libperl.so as a
"default", would it then be sufficient(?), to
pull the libperl.a by simply stating:
/usr/lib/perl/5.8.8/arch/CORE # ar r libperl.a `ls *.so`
out of the installed local Perl system to get
a functional static library?
What "standard" modules would then be available
to the app when linking with "ldopts -- -std"?
The real questions is: what would happen if I
bring the statically linked app to a system without
any perl (or with some version before christ)?
Thanks
Mirco
after fiddling around with some C++-to-perl
calls and evals (perldoc perlembed), I'm
not sure what to do now.
Maybe I'm linking the app w/perl by the options
provided by `perl -MExtUtils::Embed -e perl_inc`
and `perl -MExtUtils::Embed -e ldopts -- -std`.
The default Perl-Build creates libperl.so as a
"default", would it then be sufficient(?), to
pull the libperl.a by simply stating:
/usr/lib/perl/5.8.8/arch/CORE # ar r libperl.a `ls *.so`
out of the installed local Perl system to get
a functional static library?
What "standard" modules would then be available
to the app when linking with "ldopts -- -std"?
The real questions is: what would happen if I
bring the statically linked app to a system without
any perl (or with some version before christ)?
Thanks
Mirco