diff options
author | Adam Chlipala <adamc@hcoop.net> | 2008-10-21 10:40:22 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2008-10-21 10:40:22 -0400 |
commit | 007027d1bb5b084352a1fc9e4e4178ee8e9821fe (patch) | |
tree | d74ba8993884143248dc1c3e9bb69d44d597d212 /src/compiler.sml | |
parent | 29a7ea8ff27061917f6e5352f9d1eb8ccad7c680 (diff) |
num_float
Diffstat (limited to 'src/compiler.sml')
-rw-r--r-- | src/compiler.sml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.sml b/src/compiler.sml index 717f5ae1..a98f121b 100644 --- a/src/compiler.sml +++ b/src/compiler.sml @@ -512,7 +512,7 @@ fun compileC {cname, oname, ename} = val driver_o = clibFile "driver.o" val compile = "gcc -Wstrict-prototypes -Werror -O3 -I include -c " ^ cname ^ " -o " ^ oname - val link = "gcc -Werror -O3 -pthread -lpq " ^ urweb_o ^ " " ^ oname ^ " " ^ driver_o ^ " -o " ^ ename + val link = "gcc -Werror -O3 -lm -pthread -lpq " ^ urweb_o ^ " " ^ oname ^ " " ^ driver_o ^ " -o " ^ ename in if not (OS.Process.isSuccess (OS.Process.system compile)) then print "C compilation failed\n" |