Re: [Module::Build] have_c_compiler uncovers Windoze bug
Status: Beta
Brought to you by:
kwilliams
|
From: Randy W. S. <Ra...@Th...> - 2003-11-02 18:55:11
|
On 10/30/2003 9:36 PM, Randy W. Sims wrote: > 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. > I didn't get to work on this as much as I had hoped, but I did get some of the scaffolding in place for the static linking. I've attached it in case you want to look it over to see where it's going. It may be toward the middle of the week before I can get back to it. Regards, Randy. |