Mercurial > urweb
comparison src/compiler.sml @ 1106:c9137606733a
Change location of dynamic libraries
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 31 Dec 2009 16:12:13 -0500 |
parents | 72670131dace |
children | c01fb6f1b31f |
comparison
equal
deleted
inserted
replaced
1105:a5c160636832 | 1106:c9137606733a |
---|---|
1029 | 1029 |
1030 val lib = if Settings.getStaticLinking () then | 1030 val lib = if Settings.getStaticLinking () then |
1031 clibFile "request.o" ^ " " ^ clibFile "queue.o" ^ " " ^ clibFile "urweb.o" | 1031 clibFile "request.o" ^ " " ^ clibFile "queue.o" ^ " " ^ clibFile "urweb.o" |
1032 ^ " " ^ clibFile "memmem.o" ^ " " ^ clibFile "mhash.o" ^ " " ^ #linkStatic proto | 1032 ^ " " ^ clibFile "memmem.o" ^ " " ^ clibFile "mhash.o" ^ " " ^ #linkStatic proto |
1033 else | 1033 else |
1034 "-L" ^ Config.libC ^ " -lurweb " ^ #linkDynamic proto | 1034 "-L" ^ Config.lib ^ "/.. -lurweb " ^ #linkDynamic proto |
1035 | 1035 |
1036 val compile = "gcc " ^ Config.gccArgs ^ " -Wimplicit -Werror -O3 -fno-inline -I " ^ Config.includ | 1036 val compile = "gcc " ^ Config.gccArgs ^ " -Wimplicit -Werror -O3 -fno-inline -I " ^ Config.includ |
1037 ^ " " ^ #compile proto | 1037 ^ " " ^ #compile proto |
1038 ^ " -c " ^ cname ^ " -o " ^ oname | 1038 ^ " -c " ^ cname ^ " -o " ^ oname |
1039 | 1039 |