Skip to content
This repository
Newer
Older
100644 11 lines (10 sloc) 0.458 kb
9ce75d17 »
2012-01-13 Add a library that can compile very simple C libraries for usage duri…
1 module t::CompileTestLib;
2
3 sub compile_test_lib($name) is export {
4 my $o = $*VM<config><o>;
5 my $so = $*VM<config><load_ext>;
7ec2386e » moritz
2012-01-16 [t] fix compilation of shared libraries with GCC
6 my $c_line = "$*VM<config><cc> -c $*VM<config><cc_shared> $*VM<config><cc_o_out>$name$o $*VM<config><ccflags> t/$name.c";
4352fcaf » arnsholt
2012-04-06 Fix braino. moritz++
7 my $l_line = "$*VM<config><ld> $*VM<config><ld_load_flags> $*VM<config><ldflags> " ~
9ce75d17 »
2012-01-13 Add a library that can compile very simple C libraries for usage duri…
8 "$*VM<config><libs> $*VM<config><ld_out>$name$so $name$o";
9 shell($c_line);
10 shell($l_line);
11 }
Something went wrong with that request. Please try again.