in reply to Re^2: Compiling XS modules on Windoze
in thread Compiling XS modules on Windoze

We're gambling on the M$VC compatibility of Open Watcom to provide compiled code that will work with ActiveState perl.

I think that's quite a gamble. The freely available MinGW compiler works well with ActiveState perl. Neither its direct.h nor the direct.h in any of the MSVC compilers that I have define 'DIR'.

My best instincts tell me that you should dispense with Open Watcom and grab a compiler (preferably either MSVC++ 6.0 or MinGW) that's known to work with ActivePerl and is well supported (wrt ActivePerl).

I take it you have your own XS modules that you need to compile ? Otherwise you could just make use of the PPM utility to install pre-compiled builds of the CPAN modules.

Cheers,
Rob

Replies are listed 'Best First'.
Re^4: Compiling XS modules on Windoze
by Bloodnok (Vicar) on Jul 18, 2007 at 13:23 UTC
    I think that's quite a gamble. The freely available MinGW compiler works well with ActiveState perl. Neither its direct.h nor the direct.h in any of the MSVC compilers that I have define 'DIR'.

    My best instincts tell me that you should dispense with Open Watcom and grab a compiler (preferably either MSVC++ 6.0 or MinGW) that's known to work with ActivePerl and is well supported (wrt ActivePerl).

    Given what you say WRT the DIR macro, there's a better than even chance that you're right.

    I take it you have your own XS modules that you need to compile ? Otherwise you could just make use of the PPM utility to install pre-compiled builds of the CPAN modules.

    Yep - we've got 2 tools both of which are provided with a C++ API ... I've searched high & low for perl wrappers for the APIs ... to no avail :-( hence the question.