You suggested writing to Steffen Muller to check the basename of $cc
because, to restate the problem, I cannot by hand do
pp --gui --icon hi.ico -o hello.exe hello.pl
because my MinGW's cc is not /^gcc\b/i, which is what is looked for.
This also causes the 31st of the t/20-pp.t test file to fail, which is
the same thing I am trying to do by hand above.
My cc is not necessarily gcc, either, as I use a Microsoft compiler
sometimes, too. I am sure others do, too. Recompiling ActiveState perl
to get a module to work does not seem the way to go.
Steffen, can you alter the Par::Packer code to check what cc is in use?
My Windows XP ActiveState Perl 5.10.1 gets the error
Can't call method "remove" on an undefined value at
C:/Perl/site/lib/Win32/Exe.pm line 220, as reported in the rt bug.
Thanks
On 2/3/2010 3:54 PM, Alexey Borzenkov via RT wrote:
<URL: https://rt.cpan.org/Ticket/Display.html?id=54074>
On Wed Feb 03 08:15:48 2010, m.noon...@comcast.net wrote:
cc='C:/MinGW/bin/gcc.exe'
Aha! You see, here's your problem. myldr/Makefile.PL checks for $cc being
/^gcc\b/i and your
$cc clearly doesn't start with gcc. You need to either rebuild Perl so that cc
is not absolute, or
ask Steffen Muller to check basename of $cc...