use strict; use warnings; use Inline C => Config => BUILD_NOISY => 1, FORCE_BUILD => 1, # Set CC to to path to gcc.exe version 8.3.0 # This is not the gcc that built perl. # Perl was built with gcc-14 CC => 'C:/sp/_64/sp-5.32.0/c/bin/gcc.exe', #LD => 'C:/sp/_64/sp-5.32.0/c/bin/g++.exe', #CCFLAGS => '-std=c99 -DWIN32 -DWIN64 -DPERL_TEXTMODE_SCRIPTS -DMULTIPLICITY -DPERL_IMPLICIT_SYS ' . ' # '-DUSE_PERLIO -D__USE_MINGW_ANSI_STDIO -fwrapv -fno-strict-aliasing -mms-bitfields', ; use Inline C => << 'END_OF_C'; void foo() { //printf("Hello World !!\n"); } END_OF_C foo(); # Does nothing, as expected print "OK\n";