NAME

ExtUtils::HasCompiler - Check for the presence of a compiler

VERSION

version 0.003

DESCRIPTION

This module tries to thorougly check if the current system has a working compiler.

Notice: this is an early release, interface stability isn't guaranteed yet.

FUNCTIONS

can_compile_executable(%opts)

This checks if the system can compile and link an executable. This may be removed in the future.

can_compile_loadable_object(%opts)

This checks if the system can compile, link and load a perl loadable object. It may take the following options:

  • quiet

    Do not output the executed compilation commands.

  • config

    An ExtUtils::Config (compatible) object for configuration.

  • skip_load

    This causes can_compile_loadable_object to not try to load the generated object. This defaults to true on a cross-compiling perl.

AUTHOR

Leon Timmermans <leont@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Leon Timmermans.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.