Function gcc::compile_library
[-]
[+]
[src]
pub fn compile_library(output: &str, config: &Config, files: &[&str])
Compile a library from the given set of input C files.
This will simply compile all files into object files and then assemble them into the output. This will read the standard environment variables to detect cross compilations and such.
Example
use std::default::Default; gcc::compile_library("libfoo.a", &Default::default(), &[ "foo.c", "bar.c", ]);