[Module::Build] have_c_compiler uncovers Windoze bug
Status: Beta
Brought to you by:
kwilliams
|
From: Randy W. S. <Ra...@Th...> - 2003-10-31 02:36:47
|
Hi Ken, Version 1.220 of M::B::Base.pm uncovered a bug. On Windows, an executable requires different options to the linker than a dynamic library. Currently link_c() is configured strictly to produce libraries. A quick and perhaps naive fix is to introduce an optional paramater to link_c() to indicate the desired type of the output file. But, I want to wait as I've also been looking into porting to AT&T's U/WIN Unix on Windows environment <http://www.research.att.com/sw/tools/uwin/> (like Cygwin, and it is going to require implementing static linking (see "Static Linking of a new Perl Binary" in the MM docs). This might also involve changes to link_c(), but I'm not sure yet. I'll post more when I learn more and before I start patching. But it may be this weekend as I'm going to set up a new computer thats been collecting dust; I'm going to setup Debain linux, one of the BSDs, Windows 2000, & Windows 98, multiboot so that I'll have a good testing system. Regards, Randy. |