Does anyone know where the title file comes from?

I'm attempting to build Data::Alias on Win32. The pod warns:

Platform support

Some platforms, notably Windows and AIX, will give link errors when attempting to build Data::Alias. This cannot be fixed. When using Windows, you can use perl inside cygwin (http://www.cygwin.com/) instead, where Data::Alias does work.

And sure enough, the link fails for the lack of the ability to resolve the following symbols:

Alias.obj : error LNK2019: unresolved external symbol ... _Perl_av_reify referenced in function _da_refgen _Perl_vivify_defelem referenced in function _da_refgen __imp__PL_no_localize_ref _Perl_pp_rv2av referenced in function _DataAlias_pp_rv2av _Perl_pp_rv2hv referenced in function _DataAlias_pp_rv2hv __imp__PL_sv_placeholder _Perl_pop_return referenced in function _DataAlias_pp_return _Perl_setdefout referenced in function _DataAlias_pp_return _Perl_lex_end referenced in function _DataAlias_pp_return _Perl_pp_entereval referenced in function _DataAlias_pp_entereval _Perl_mod referenced in function _da_transform _Perl_qerror referenced in function _da_lvalue __imp__PL_op_mutex _Perl_yylex referenced in function _da_ck_rv2cv _Perl_op_clear referenced in function _da_ck_entersub blib\arch\auto\Data\Alias\Alias.dll : fatal error LNK1120: 15 unresolv +ed externals

The leading underscore on those symbol names (maybe) indicates that this is the familiar problem of the default calling convention is being used. The (maybe) fix being to tag those functions to use the pascal calling convention.

Whilst grepping around for the locations of the declarations, I noticed that several of them turn up in the title file, and that file contains:

embed.fnc embed.h global.sym op.c perly.c perly.h perly.y perly_c.diff proto.h toke.c vms/perly_c.vms vms/perly_h.vms

which look like the right places to be fixing the declarations. If it is, then it means that this is (at least in part) a solved problem. I'm hoping that by inspecting the build files for whatever module uses it I can work out how these files are used. But for the life of me, a cannot work out where this file came from? Neither a cpan search nor google have turned up anything. Is there a better way?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

In reply to From whence comes perl-5.8.6-smartmatch.tar? by BrowserUk

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.