in reply to Re: A Practical Guide to Compiling C based Modules under ActiveState using Microsoft C++
in thread A Practical Guide to Compiling C based Modules under ActiveState using Microsoft C++
I'm building a Perl extension (dll in Windows XP) using ExtUtils::MakeMaker.
This dll needs to link with other libraries that were built in static mode (-MTd).
My perl configuration states dynamic libraries (-MD) which causes MakeMaker to pull a dynamic C library (msvcrtd.dll).
The other libraries are using the static C library (libcmtd.lib)
These dynamic and static C libraries collide giving link errors.
Is there a way to force perl to compile with (-MTd) albeit its configuration flags?
MacDonald Dettwiler Direct: (604) 231-2487
13800 Commerce Parkway Fax: (604) 278-2117
Canada V6V 2J3