buildcc(1)
| BUILDCC(1) | User Contributed Perl Documentation | BUILDCC(1) |
NAME
buildcc - build an executable with shared modules from a perl script
SYNOPSIS
buildcc -o hello hello.pl # pass thru perlcc
buildcc -m app.pl # detects dependencies for app.pl, write them to app.mak,
# and compile all into shared modules and app
buildcc -l -m app.pl # use local ~/.perl5/pcc/ path
buildcc -l=~/pcc -m app.pl # use local ~/pcc/ path
DESCRIPTION
buildcc is a "perlcc -m" frontend to detect and maintain perlcc compiled perl modules as compiled shared libraries. It creates a .mak file for the compiled script with all dependencies.
"-l" uses a local path for all compiled shared modules. Otherwise it checks if 'sitearch'/pcc/ is writable and puts/searches the modules there if so.
All other options are passed thru to perlcc verbatim.
OPTIONS
- -m
- Create a .mak for the module depencencies, and create the target.
- -l [path]
- Use the given local path as prefix for the created shared modules.
| 2023-10-30 | perl v5.38.0 |
