Can I embed Strawberry Perl in a compiled VC ++ 6.0 application or use Inline :: C with compiler mismatch?

I am considering embedding perl 5.10 in a large C ++ application compiled with VC ++ 6.0. This leads to two questions.

1) Is it nice to use Strawberry Perl as a dependency rather than compiling my own perl with VC ++ 6.0? Will Strawberry work even if the compiler doesn't match? I assume Strawberry compiled with mingw. I would really not want my own native perl assembly.

2) If I went along the route of Earthlings, would something like Inline :: C work in the embedded application? You will have VC ++ 6.0 code calling mingw compiled by Strawberry, in turn calling the compiled user code mingw. Inline :: C will be a great opportunity for what I'm trying to achieve with the perl built-in interpreter.

+5
source share
2 answers

, Perl, MSVC, , Strawberry Perl . perlwin32 Perl Monks, .

Strawberry Perl, , , .

- xdg

+3

Activestate perl V++ 6.0. V++ 6.0 MinGW , C. msvcrt.dll. MinGW, V++ 6.0 , ( , .) PPM Mingw CPAN. . , CPAN :

o conf yaml_module '' ( , )

o conf commit

Inline:: C .

+2

All Articles