Skip to content

Commit

Permalink
fix linker to be static for now
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-johnson-4 committed Jan 2, 2024
1 parent 687834e commit c363ace
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/g.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ fn assemble(cfg: &str, program: &S) {
}

let output = Command::new("ld")
.arg("-lc")
//.arg("-lc")
// linking c library causes ELF to need an interpreter that it can't find...
.arg("-o")
.arg(cfg)
.arg(&tmp_o)
Expand Down

0 comments on commit c363ace

Please sign in to comment.