On 2011-07-08 07:30:46, David@mdebro.es wrote:
Show quoted text> g++ main.o my_par_pl.o win32.coff ...
> win32.coff: file not recognized: File format not recognized
Known problem on 64-bit Windows - win32.coff is a 32-bit object.
I don't have access to a 64-bit Windows box, but I have received
reports that a 64-bit version of this file may not be necessary at all.
Please try the following:
- unpack a PAR::Packer tarball
- change line 107 of myldr/Makefile.PL from
$res = ($^O =~ /^(?:MSWin|cygwin)/) ? 'win32.coff' : '';
to
$res = '';
- build and test as usual
perl Makefile.PL
dmake
dmake test
If the test succeeds (or there are only a few failures)
install and try to pack a minimal script
dmake install
pp -o hello.exe -e "print qq[hello world\n]"
I'm interested in the output of
objdump -h hello.exe
in particular if it lists a resource section (".rsrc")
(objdump.exe is in E:\prog\strawberry\c\bin).
Also attach the output of "dmake test" if there were any failures.
Cheers, Roderich