13 May 2003 10:32:35 UTC
- Distribution: Solaris-PerlGcc
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (3)
- License: unknown
- Activity24 month
- Download (332.67KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This versionABURLISON Alan Burlison
perlgcc - Compile perl modules using gcc.
perlgcc Makefile.PL; make
When perl is built it saves the name of the compiler and any compiler flags in its configuration files, and then uses these saved settings when any additional modules are built. The perl 5.005_03 and perl 5.6.1 shipped with Solaris 8, 9 and 10 were built with the Forte compilers rather than gcc.
If add-on modules are built with the Forte compilers, everyting works as expected. However, if gcc is used to build add-on modules, the saved configuration is incorrect as it assumes that the Forte compiler will be present.
This command provides a set of perl configuration files that are configured to use gcc as the compiler rather than the Forte compiler. The default configuration files are not modified, instead a replacement set of files are transparently substituted for the duration of the perlgcc command.
Instead of invoking
perl Makefile.PLto generate the makefile needed to compile a module,
perlgcc Makefile.PLshould be used instead. All command-line arguments to perlgcc are passed unmodified to
If you use the CPAN.pm module, instead of invoking
perl -MCPAN -e shell, you should use
perlgcc -MCPAN -e shellinstead, and use as normal.
This is modified to point to the location of the replacement perl configuration files.
This module is released under the perl Artistic license, see the file LICENSE in the distrubution tarball.
Module Install Instructions
To install ExtUtils::MakeMaker, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install ExtUtils::MakeMaker
For more information on module installation, please visit the detailed CPAN module installation guide.