Devel::CheckCompiler(3pm)

Devel::CheckCompiler3pm

Check the compiler's availability

Usage

    use Devel::CheckCompiler;
    check_c99_or_exit();

Overview

Devel::CheckCompiler is checker for compiler's availability.

Functions

check_c99()

Returns true if the current system has a working C99 compiler, false otherwise.

check_c99_or_exit()

Check the current system has a working C99 compiler, if it's not available, exit by 0.

"check_compile($src: Str, %options)"

Compile $src as C code. Return 1 if it's available, 0 otherwise.

Possible options are:

executable :Bool = false

Check to see if generating executable is possible if this parameter is true.

extra_linker_flags : Str | ArrayRef[Str]

Any additional flags you wish to pass to the linker. This option is used only when "executable" option specified.

Releases

7 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9–11
  3. 12–13
  4. Arch

Author

Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>

License

Copyright (C) Tokuhiro Matsuno

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

From perl-devel-checkcompiler 0.07-14 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.