mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-16 03:38:47 +00:00
Linking with runtime library
This commit is contained in:
parent
f14bbf8fcb
commit
3bf36ae719
1 changed files with 1 additions and 1 deletions
|
|
@ -570,5 +570,5 @@ let build prog name =
|
|||
Printf.fprintf outf "%s" (genasm prog);
|
||||
close_out outf;
|
||||
let inc = try Sys.getenv "RC_RUNTIME" with _ -> "../runtime" in
|
||||
Sys.command (Printf.sprintf "gcc -g -m32 -o %s %s/gc_runtime.o %s/runtime.o %s.s" name inc inc name)
|
||||
Sys.command (Printf.sprintf "gcc -g -m32 -o %s %s.s %s/runtime.a" name name inc)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue