Learned Brethren,

I seek your advice on building/compiling Perl for use on 64bit Windows.

The short question:How do I build a true 64bit binary of Perl for use on Windows?

The longer question (and what I've done so far):

Following the details on perl 5.8.805 on windows 64bit I've got hold of the MS Platform SDK suitable for my AMD64 machine (which is running Windows XP x64 Edition).

I think I've configured the Makefile correctly, but as I'm Windows through and through I haven't done this much, so may have screwed it up. If people think it will help, I'll post it.

When I try and run nmake in the Win32 Perl source directory, I get:

perlglob.obj : error LNK2001: unresolved external symbol __security_ch +eck_cookie ..\perlglob.obj : fatal error LNK 1120: 1 unresolved externals

Any pointers as to what I'm doing wrong would be gratefully received! I realise that this isn't necessarily the best place to pose such a question, so if anyone could also recommend a better outlet, I'll also try there.

As an aside, I'm trying to build Perl 64bit so that it runs in WindowsPE 64 - unlike regular Windows, WindowsPE cannot run the WOW layer to run 32bit apps. WindowsPE is used in our unattended install environment.

Many thanks,
Loki


In reply to Building 64bit Perl for Windows by puploki

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.