----- Original Message -----
From: "RAPPAZ Francois" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, April 22, 2009 5:14 PM
Subject: RE: Buiding par-packer with dmake
Thanks for replying. I have installed a freh activePerl build (825): I
have
- uninstalled ActivePerl form the Windows Control Panel,
- deleted all the dir under C:/Perl except the site\lib directory,
- run ppm upgrade.
It may simply be that you need to run 'ppm install MinGW' again. If you can
find 'gcc.exe' in perl/site/bin then that's probably not the case - and you
should check that perl/site/bin is in your path.
If none of that helps, read on ....
Unfortunatly the flag are not what you described below since I got the
following
U:\>perl -V:ld
ld='link';
U:\>perl -V:obj_ext
obj_ext='.obj';
U:\>perl -V:lib_ext
lib_ext='.lib';
It looks like MinGW is not being found.
This could be either because the MinGW bin folder (that contains gcc.exe) is
not in your path, or because a Microsoft Compiler bin folder (that contains
cl.exe) is in your path *before* the MingW bin folder.
Do you have a Microsoft Compiler installed somewhere ?
Does 'perl -V:cc' report 'gcc', not 'cl' ?
Does 'gcc -v' still produce the version info that it used to ? (If so, then
at least we know it's in your path.)
And which flavour of make is now being reported by 'perl -V:make' ?
When everything is as it should be, you'll get:
C:\_32>perl -V:make
make='dmake';
C:\_32>perl -V:cc
Set up gcc environment - 3.4.5 (mingw-vista special r3)
cc='gcc';
C:\_32>perl -V:ld
Set up gcc environment - 3.4.5 (mingw-vista special r3)
ld='g++';
C:\_32>perl -V:obj_ext
Set up gcc environment - 3.4.5 (mingw-vista special r3)
obj_ext='.o';
C:\_32>perl -V:lib_ext
Set up gcc environment - 3.4.5 (mingw-vista special r3)
lib_ext='.a';
Cheers,
Rob