Thanks for replying Perl -V:make says dmake dmake clean
then perl Makefile.pl (gives a lot of No library found for -lkernel32 ...) dmake still has the same error C:\Perl\site\lib\auto\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\min gw32\bin \ld.exe: cannot find -libpath:C:\Perl\lib\CORE collect2: ld returned 1 exit status dmake.exe: Error code 129, while making 'par.exe' dmake.exe: Error code 255, while making 'subdirs' Francois > -----Original Message----- > From: Sisyphus [mailto:sisyph...@optusnet.com.au] > Sent: mercredi, 8. avril 2009 10:28 > To: RAPPAZ Francois; par@perl.org > Subject: Re: Buiding par-packer with dmake > > > ----- Original Message ----- > From: "RAPPAZ Francois" <francois.rap...@unifr.ch> > To: <par@perl.org> > Sent: Wednesday, April 08, 2009 5:08 PM > Subject: Buiding par-packer with dmake > > > > My perl is This is perl, v5.8.8 built for MSWin32-x86-multi-thread > > I have set up minGW > > > > Gcc --version > > gcc.exe (GCC) 3.4.5 (mingw-vista special r3) > > Copyright (C) 2004 Free Software Foundation, Inc. > > This is free software; see the source for copying conditions. There > is NO > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > > PURPOSE. > > > > When I try to install PAR-Packer from the CPAN/build folder, running > perl > > Makefile.pl and dmake > > I got > > > > gcc main.o my_par_pl.o > > win32.coff -s -nologo -nodefaultlib -debug -opt:ref,icf > > -libpath:"C:\Perl\lib\CORE" -machine:x86 > C:\Perl\lib\CORE\perl58.lib -o > > .\pa > > r.exe > > gcc.exe: unrecognized option `-nologo' > > gcc.exe: unrecognized option `-nodefaultlib' > > > C:\Perl\site\lib\auto\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mi > ngw32\bin > > \ld.exe: cannot find -libpath:C:\Perl\lib\CORE > > collect2: ld returned 1 exit status > > dmake.exe: Error code 129, while making 'par.exe' > > dmake.exe: Error code 255, while making 'subdirs' > > > > The problem is that you're getting a Makefile that has been written for > 'nmake' (not 'dmake'). > You probably simply need to remove 'nmake.exe' (eg rename it to > 'nmake.exe_hide'), or remove the folder that contains nmake.exe from > the > path. > > When 'perl -V:make' reports that "make='dmake'", then you'll be right > to go > with 'dmake'. But while you're getting "make='nmake'", you'll have to > use > 'nmake'. > > You can probably build with nmake and gcc (untested) - though it's > usual to > build with dmake when compiling with gcc. > > Cheers, > Rob