in reply to trying to use inline c

rebeltofu,
AS Perl has worked with MinGW out of the box for some time now. Have you tried that route?

Cheers - L~R