comparison src/settings.sml @ 1871:c3119c263bd3

Add -ccompiler command line argument This allows user to overwrite the compiler set during the configure phase
author Sergey Mironov <grrwlf@gmail.com>
date Tue, 20 Aug 2013 17:13:50 +0400
parents 3c56aa6a0f55
children df6a040f5389
comparison
equal deleted inserted replaced
1870:434921f54f54 1871:c3119c263bd3
30 val configBin = ref Config.bin 30 val configBin = ref Config.bin
31 val configLib = ref Config.lib 31 val configLib = ref Config.lib
32 val configSrcLib = ref Config.srclib 32 val configSrcLib = ref Config.srclib
33 val configInclude = ref Config.includ 33 val configInclude = ref Config.includ
34 val configSitelisp = ref Config.sitelisp 34 val configSitelisp = ref Config.sitelisp
35
36 val configCCompiler = ref Config.ccompiler
37
38 fun getCCompiler () = !configCCompiler
39 fun setCCompiler cc = configCCompiler := cc
35 40
36 fun libUr () = OS.Path.joinDirFile {dir = !configSrcLib, 41 fun libUr () = OS.Path.joinDirFile {dir = !configSrcLib,
37 file = "ur"} 42 file = "ur"}
38 fun libC () = OS.Path.joinDirFile {dir = !configSrcLib, 43 fun libC () = OS.Path.joinDirFile {dir = !configSrcLib,
39 file = "c"} 44 file = "c"}