Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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?


Comment on What are the .bs files for?
Download Code
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2015-10-09 09:59 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (237 votes), past polls