Mercurial > urweb
comparison src/compiler.sml @ 1104:72670131dace
Basis.serialize; separate file for mhash; run transactional finishers in reverse order; set needs_sig properly
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 31 Dec 2009 11:41:57 -0500 |
parents | 324c9ffe8ff9 |
children | c9137606733a |
comparison
equal
deleted
inserted
replaced
1103:2f42c61b8d0a | 1104:72670131dace |
---|---|
1027 let | 1027 let |
1028 val proto = Settings.currentProtocol () | 1028 val proto = Settings.currentProtocol () |
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" ^ " " ^ #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.libC ^ " -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 |