pointer-to-bios fd2ce31dc4 | ||
---|---|---|
src | ||
.gitignore | ||
Cargo.toml | ||
README.md |
README.md
JointComp
Joint compileation of various languages and assembly language.
Just write a target list in build.rs to joint compile your multiple lang project.
A simple example:
targets! {
GccAsm {
"main.S",
"test.S",
};
#[cfg(target_arch = "x86_64")]
GccAsm {
"arch/$/foo.S" : "include/$/bar.h",
};
LinkerScript { "myscript-$.lds" };
LinkerMap { "target.map" };
}