Devel::CheckCompiler(3pm) User Contributed Perl Documentation Devel::CheckCompiler(3pm)

Devel::CheckCompiler - Check the compiler's availability

use Devel::CheckCompiler;
check_c99_or_exit();

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

Returns true if the current system has a working C99 compiler, false otherwise.
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:

Check to see if generating executable is possible if this parameter is true.
Any additional flags you wish to pass to the linker. This option is used only when "executable" option specified.

Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>

ExtUtils::CBuilder

Copyright (C) Tokuhiro Matsuno

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

2023-07-25 perl v5.38.0