Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

What are the .bs files for?

by MrNobo1024 (Hermit)
on Aug 02, 2002 at 02:48 UTC ( #186991=perlquestion: print w/replies, xml ) Need Help??
MrNobo1024 has asked for the wisdom of the Perl Monks concerning the following question:

In the lib/auto subdir of my perl directory, there's a lot of 0-byte .bs files (one for each DLL, like this:)
Directory of C:\perl\lib\auto\Digest\MD5 MD5 DLL 245,767 08-01-02 6:13p MD5.dll MD5 BS 0 08-01-02 6:13p
I know the .dll is the library that gets linked when the module is loaded but what's the .bs file for? Can anyone tell me?


Replies are listed 'Best First'.
Re: What are the .bs files for?
by Zaxo (Archbishop) on Aug 02, 2002 at 03:40 UTC

    The .bs extension stands for 'bootstrap'. The file is produced by ExtUtils::Mkbootstrap for the use of DynaLoader. It tells DynaLoader where to find dll's that are not in the system's standard locations.

    After Compline,

      I would rather say that .bs file may contain additional code which helps to find dll-s in non-standard locations, but may contain some special code (initialize something, for example). DynaLoader checks it's size and, if it's not zero, executes it.

      Courage, the Cowardly Dog.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://186991]
Approved by sm3g
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2017-10-19 07:43 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (252 votes). Check out past polls.