Consider this CPAN Tester Matrix Report for OSX.
Sometimes archname
is darwin-2level
,sometimes its darwin-thread-multi-2level
. I understand that it refers to if you are using Perl compiled with -Dusethreads
flag or not.
1) But does that also signify that given module such as XML::LibXML
or XML::LibXSLT
is also compiled using/not using thread flag ?
2) Are there any such settings by which we can compile XML::LibXML
and XML::LibXSLT
with thread flags ?
3) Does the archname
in the above report mandate that it will only work with Perl that is compiled without -Dusethreads
flag ?
When you install a module the same compiler flags are used for compiling the module that the flags used for compiling perl. Unless the module author decided otherwise in the Makefile.PL
/ Build.PL
of the distribution.
Using different usethreads
for a module than from the perl in which it will run would be dangerous (if even possible).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.