Install Perl 5.8.8
[msysgit.git] / mingw / html / lib / ExtUtils / Mkbootstrap.html
blob8caaab326a2bee9e6695684f9961cff491c00447
1 <?xml version="1.0" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <title>ExtUtils::Mkbootstrap - make a bootstrap file for use by DynaLoader</title>
6 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
7 <link rev="made" href="mailto:" />
8 </head>
10 <body style="background-color: white">
11 <table border="0" width="100%" cellspacing="0" cellpadding="3">
12 <tr><td class="block" style="background-color: #cccccc" valign="middle">
13 <big><strong><span class="block">&nbsp;ExtUtils::Mkbootstrap - make a bootstrap file for use by DynaLoader</span></strong></big>
14 </td></tr>
15 </table>
17 <p><a name="__index__"></a></p>
18 <!-- INDEX BEGIN -->
20 <ul>
22 <li><a href="#name">NAME</a></li>
23 <li><a href="#synopsis">SYNOPSIS</a></li>
24 <li><a href="#description">DESCRIPTION</a></li>
25 </ul>
26 <!-- INDEX END -->
28 <hr />
29 <p>
30 </p>
31 <h1><a name="name">NAME</a></h1>
32 <p>ExtUtils::Mkbootstrap - make a bootstrap file for use by DynaLoader</p>
33 <p>
34 </p>
35 <hr />
36 <h1><a name="synopsis">SYNOPSIS</a></h1>
37 <p><code>Mkbootstrap</code></p>
38 <p>
39 </p>
40 <hr />
41 <h1><a name="description">DESCRIPTION</a></h1>
42 <p>Mkbootstrap typically gets called from an extension Makefile.</p>
43 <p>There is no <code>*.bs</code> file supplied with the extension. Instead, there may
44 be a <code>*_BS</code> file which has code for the special cases, like posix for
45 berkeley db on the NeXT.</p>
46 <p>This file will get parsed, and produce a maybe empty
47 <code>@DynaLoader::dl_resolve_using</code> array for the current architecture.
48 That will be extended by $BSLOADLIBS, which was computed by
49 ExtUtils::Liblist::ext(). If this array still is empty, we do nothing,
50 else we write a .bs file with an <code>@DynaLoader::dl_resolve_using</code>
51 array.</p>
52 <p>The <code>*_BS</code> file can put some code into the generated <code>*.bs</code> file by
53 placing it in <code>$bscode</code>. This is a handy 'escape' mechanism that may
54 prove useful in complex situations.</p>
55 <p>If @DynaLoader::dl_resolve_using contains <code>-L*</code> or <code>-l*</code> entries then
56 Mkbootstrap will automatically add a <code>dl_findfile()</code> call to the
57 generated <code>*.bs</code> file.</p>
58 <table border="0" width="100%" cellspacing="0" cellpadding="3">
59 <tr><td class="block" style="background-color: #cccccc" valign="middle">
60 <big><strong><span class="block">&nbsp;ExtUtils::Mkbootstrap - make a bootstrap file for use by DynaLoader</span></strong></big>
61 </td></tr>
62 </table>
64 </body>
66 </html>