Manual

- Overview
- Tutorials
- FAQs
- History / Changes
- License

Reference

- Language
- Functions
- Operators
- Special Variables
- Pragmas
- Utilities
- Internals
- Platform Specific

Modules

- A • B • C • D • E
- F • G • H • I • L
- M • N • O • P • S
- T • U • X

News / Blogs

- Perl Buzz
- Perl Iron Man
- Perlsphere
- Planet Perl
- TPF news
- Use Perl

See also

- CPAN
- Perl.org
- Perl.com
- Perl 5 Wiki
- Perl Jobs
- Perl Mongers
- Perl Monks

Contact

- Site designed and maintained by Jon Allen (JJ)
- http://perl.jonallen.info

- View the project page and FAQs

# ExtUtils::Miniperl

Perl 5 version 10.1 documentation
Go to top • Show page index • Download PDF

# ExtUtils::Miniperl

- NAME
- SYNOPSIS
- DESCRIPTION
- SEE ALSO

# NAME

ExtUtils::Miniperl, writemain - write the C code for perlmain.c

# SYNOPSIS

`use ExtUtils::Miniperl;`

`writemain(@directories);`

# DESCRIPTION

This whole module is written when perl itself is built from a script called minimod.PL. In case you want to patch it, please patch minimod.PL in the perl distribution instead.

writemain() takes an argument list of directories containing archive libraries that relate to perl modules and should be linked into a new perl binary. It writes to STDOUT a corresponding perlmain.c file that is a plain C file containing all the bootstrap code to make the modules associated with the libraries available from within perl.

The typical usage is from within a Makefile generated by ExtUtils::MakeMaker. So under normal circumstances you won't have to deal with this module directly.

# SEE ALSO

ExtUtils::MakeMaker

Page index

- NAME
- SYNOPSIS
- DESCRIPTION
- SEE ALSO

Recently read

Tools

- Preferences