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">
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:" />
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"> ExtUtils::Mkbootstrap - make a bootstrap file for use by DynaLoader
</span></strong></big>
17 <p><a name=
"__index__"></a></p>
22 <li><a href=
"#name">NAME
</a></li>
23 <li><a href=
"#synopsis">SYNOPSIS
</a></li>
24 <li><a href=
"#description">DESCRIPTION
</a></li>
31 <h1><a name=
"name">NAME
</a></h1>
32 <p>ExtUtils::Mkbootstrap - make a bootstrap file for use by DynaLoader
</p>
36 <h1><a name=
"synopsis">SYNOPSIS
</a></h1>
37 <p><code>Mkbootstrap
</code></p>
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>
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"> ExtUtils::Mkbootstrap - make a bootstrap file for use by DynaLoader
</span></strong></big>