----- Original Message ----- From: "Mark Dootson" <[EMAIL PROTECTED]>
.
.
Then, I'd guess that within the AMD64 build environment,

rc win32.rc
cvtres win32.res

will give you the win32.obj that your require.

Yep - with the minor alteration:

rc /fo win32_AMD64.res win32.rc
cvtres -machine:AMD64 win32_AMD64.res

Without the "-machine:AMD64" it assumes x86.
The renaming is just so that the resultant obj and res files can co-exist with the existing res and obj files.

Still failed test 32 of 20-pp.t, however.

What's the correct way for the myldr/Makefile.PL to determine whether $res needs to be set to 'win32.obj' or 'win32_AMD64.obj' ? We could probably determine that based on the size of $Config{ivsize}, but what if the 64-bit build is using an Intel chip ? Will an obj file built for AMD64 still be ok ... or do we then need an obj file built for IA64 ?

Cheers,
Rob



Reply via email to