• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/Devel/H03-May-2022-20895

t/H03-May-2022-181142

xt/H03-May-2022-1413

Build.PLH A D18-Nov-2016301 134

ChangesH A D18-Nov-2016599 3421

LICENSEH A D18-Nov-201618 KiB380292

MANIFESTH A D18-Nov-2016221 1616

META.jsonH A D18-Nov-20162.1 KiB8685

META.ymlH A D18-Nov-20161.2 KiB4847

README.mdH A D18-Nov-20161.2 KiB5428

cpanfileH A D18-Nov-2016180 108

README.md

1# NAME
2
3Devel::CheckCompiler - Check the compiler's availability
4
5# SYNOPSIS
6
7    use Devel::CheckCompiler;
8
9    check_c99_or_exit();
10
11# DESCRIPTION
12
13Devel::CheckCompiler is checker for compiler's availability.
14
15# FUNCTIONS
16
17- `check_c99()`
18
19    Returns true if the current system has a working C99 compiler, false otherwise.
20
21- `check_c99_or_exit()`
22
23    Check the current system has a working C99 compiler, if it's not available, exit by 0.
24
25- `check_compile($src: Str, %options)`
26
27    Compile `$src` as C code. Return 1 if it's available, 0 otherwise.
28
29    Possible options are:
30
31    - executable :Bool = false
32
33        Check to see if generating executable is possible if this parameter is true.
34
35    - extra\_linker\_flags : Str | ArrayRef\[Str\]
36
37        Any additional flags you wish to pass to the linker. This option is used
38        only when `executable` option specified.
39
40# AUTHOR
41
42Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>
43
44# SEE ALSO
45
46[ExtUtils::CBuilder](https://metacpan.org/pod/ExtUtils::CBuilder)
47
48# LICENSE
49
50Copyright (C) Tokuhiro Matsuno
51
52This library is free software; you can redistribute it and/or modify
53it under the same terms as Perl itself.
54