1ExtUtils::Mkbootstrap(3pPme)rl Programmers Reference GuiEdxetUtils::Mkbootstrap(3pm)
2
3
4

NAME

6       ExtUtils::Mkbootstrap - make a bootstrap file for use by DynaLoader
7

SYNOPSIS

9       "Mkbootstrap"
10

DESCRIPTION

12       Mkbootstrap typically gets called from an extension Makefile.
13
14       There is no "*.bs" file supplied with the extension. Instead, there may
15       be a *_BS file which has code for the special cases, like posix for
16       berkeley db on the NeXT.
17
18       This file will get parsed, and produce a maybe empty
19       @DynaLoader::dl_resolve_using array for the current architecture.  That
20       will be extended by $BSLOADLIBS, which was computed by ExtUtils::Lib‐
21       list::ext(). If this array still is empty, we do nothing, else we write
22       a .bs file with an @DynaLoader::dl_resolve_using array.
23
24       The *_BS file can put some code into the generated "*.bs" file by plac‐
25       ing it in $bscode. This is a handy 'escape' mechanism that may prove
26       useful in complex situations.
27
28       If @DynaLoader::dl_resolve_using contains "-L*" or "-l*" entries then
29       Mkbootstrap will automatically add a dl_findfile() call to the gener‐
30       ated "*.bs" file.
31
32
33
34perl v5.8.8                       2001-09-21        ExtUtils::Mkbootstrap(3pm)
Impressum