diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2008-08-23 11:32:48 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2008-08-23 11:32:48 +0200 |
commit | 972c51086152bd45aef4eb17c099fa3472a19d04 (patch) | |
tree | 3e51e4f71f737a4f943bb71cd889d7002c3d4b5a /config/my_nimrod.cfg | |
parent | 07d5a8085bbcc21a1d9d06a2976ecc00e9c8d55b (diff) | |
download | Nim-972c51086152bd45aef4eb17c099fa3472a19d04.tar.gz |
deleted web and dist
Diffstat (limited to 'config/my_nimrod.cfg')
-rw-r--r-- | config/my_nimrod.cfg | 154 |
1 files changed, 154 insertions, 0 deletions
diff --git a/config/my_nimrod.cfg b/config/my_nimrod.cfg new file mode 100644 index 000000000..7c74cc3ae --- /dev/null +++ b/config/my_nimrod.cfg @@ -0,0 +1,154 @@ +# Configuration file for the Nimrod Compiler. +# Generated by the koch.py script. +# (c) 2008 Andreas Rumpf + +# Feel free to edit the default values as you need. + +# You may set environment variables with +# @putenv "key" "val" +# Environment variables cannot be used in the options, however! + +# Just call the compiler with several options: +cc = @if unix: gcc @else: vcc @end +lib="$nimrod/lib" +path="$lib/base" +path="$lib/base/gtk" +path="$lib/base/cairo" +path="$lib/base/x11" +path="$lib/windows" +path="$lib/posix" +path="$lib/ecmas" +path="$lib/extra" + +@if release: + checks:off + stacktrace:off + debugger:off + line_dir:off +@end + +# additional defines: +#define="" +# additional options always passed to the compiler: +force_build +line_dir=off +cfilecache=on + +hint[LineTooLong]=off +hint[XDeclaredButNotUsed]=off + +@if unix: + passl= "-ldl" + path = "$lib/base/gtk" +@end + +@if icc: + passl = "-cxxlib" + passc = "-cxxlib" +@end + +# Configuration for the LLVM GCC compiler: +@if windows: + llvm_gcc.path = r"$nimrod\dist\llvm-gcc4.2\bin" +@end +llvm_gcc.options.debug = "-g" +llvm_gcc.options.always = "-w" +llvm_gcc.options.speed = "-O3 -ffast-math" +llvm_gcc.options.size = "-Os -ffast-math" + +# Configuration for the Borland C++ Compiler: +@if windows: + bcc.path = r"C:\eigenes\compiler\cbuilder5\bin" +@end +bcc.options.debug = "" +# turn off warnings about unreachable code and inline procs: +bcc.options.always = "-w- -H- -q -RT- -a8 -w-8027 -w-8066" +bcc.options.speed = "-O2 -6" +bcc.options.size = "-O1 -6" + +# Configuration for the Visual C/C++ compiler: +@if vcc: + @prepend_env path r"C:\Eigenes\compiler\vcc2005\Common7\IDE;" + @prepend_env INCLUDE r"C:\Eigenes\compiler\vcc2005\VC\include;C:\Eigenes\compiler\vcc2005\VC\ATLMFC\INCLUDE;" + @prepend_env LIB r"C:\Eigenes\compiler\vcc2005\VC\lib;C:\Eigenes\compiler\vcc2005\SDK\v2.0\Lib;" +@end +@if windows: + vcc.path = r"C:\Eigenes\compiler\vcc2005\VC\bin" +@end +vcc.options.debug = "/RTC1 /ZI" +vcc.options.always = "/nologo" +vcc.options.speed = "/Ogityb2 /G7 /arch:SSE2" +vcc.options.size = "/O1 /G7" + +# Configuration for the Watcom C/C++ compiler: +@if windows: + wcc.path = r"C:\eigenes\compiler\watcom\binnt" +@end +wcc.options.debug = "-d2" +wcc.options.always = "-6 -zw -w-" +wcc.options.speed = "-ox -on -6 -d0 -fp6 -zW" +wcc.options.size = "-ox -on -6 -d0 -fp6 -zW" + +# Configuration for the GNU C/C++ compiler: +@if windows: + gcc.path = r"C:\eigenes\compiler\mingw\bin" +@end +gcc.options.debug = "-g" +@if macosx: + gcc.options.always = "-w -fasm-blocks" +@else: + gcc.options.always = "-w" +@end +gcc.options.speed = "-O3 -ffast-math" +gcc.options.size = "-Os -ffast-math" + +# Configuration for the Digital Mars C/C++ compiler: +@if windows: + dmc.path = r"C:\eigenes\compiler\d\dm\bin" +@end +dmc.options.debug = "-g" +dmc.options.always = "-Jm" +dmc.options.speed = "-ff -o -6" +dmc.options.size = "-ff -o -6" + +# Configuration for the LCC compiler: +@if windows: + lcc.path = r"C:\eigenes\compiler\lcc\bin" +@end +lcc.options.debug = "-g5" +lcc.options.always = "-e1" +lcc.options.speed = "-O -p6" +lcc.options.size = "-O -p6" + +# Configuration for the Tiny C Compiler: +@if windows: + tcc.path = r"C:\eigenes\compiler\tcc\bin" +@end +tcc.options.debug = "-b" +tcc.options.always = "" +tcc.options.speed = "" +tcc.options.size = "" + +# Configuration for the Pelles C compiler: +@if windows: + pcc.path = r"C:\eigenes\compiler\pellesc\bin" +@end +pcc.options.debug = "-Zi" +pcc.options.always = "-Ze" +pcc.options.speed = "-Ox" +pcc.options.size = "-Os" + +@if windows: + icc.path = r"c:\eignes\compiler\icc\bin" +@end +icc.options.debug = "-g" +icc.options.always = "-w" +icc.options.speed = "-O3 -ffast-math" +icc.options.size = "-Os -ffast-math" + +@write "used default config file" + +@if ecmascript: + @write "Target is ECMAScript! No unsafe features are allowed!" +@end + |