Commit Graph

59 Commits

Author SHA1 Message Date
Philip Wernersbach
747653911c Add compiler-specific configuration options for all compilers. 2015-03-15 19:07:42 -04:00
Flaviu Tamas
08680cfebd Fix #2247
Thanks @Araq for the suggestion
2015-03-04 21:21:10 -05:00
def
e686ca2523 Fix a few more warnings 2015-02-17 02:22:30 +01:00
Araq
b226618ce7 'passL' is not smart anymore about already known switches; -ldl is now properly appended to the linking command 2015-02-13 01:21:55 +01:00
Araq
703633bf0c stop after first failing C compilation for --parallelBuild:1 2015-02-09 22:29:20 +01:00
Araq
b44ee119c8 list CC executions properly again for --parallelBuild:1 2015-02-05 12:23:27 +01:00
Varriount
d630f72b81 Fixes #1955 2015-01-17 20:17:36 -05:00
Michał Zieliński
b1351d23f5 quote filenames in when invoking compiler from C backend 2015-01-14 20:16:35 +01:00
Andreas Rumpf
01b262d8d1 Merge pull request #1569 from idlewan/prettyCC
Prettify compiler output for verbosity=1
2014-11-03 02:02:20 +01:00
Clay Sweetser
3939e674d0 Fix #1599
Compiler-specific options are now read with the '{compiler}.cpp' prefix in C++ mode.
 GCC C++ mode is fixed.
2014-10-29 14:29:09 -04:00
Erwan Ameil
06c32aab29 Tidy up the prettification of the default verbosity c compilation output 2014-10-13 01:54:44 +02:00
Erwan Ameil
679aefd89c Prettify compiler output for verbosity=1
Long lines displaying the invocation of the c compiler are replaced
with short, readable lines.
2014-10-12 23:30:32 +02:00
Araq
e65c296bcc implemented mixed mode codegen 2014-10-03 01:21:35 +02:00
Araq
2781fea9e2 Nimrod renamed to Nim 2014-08-28 09:38:14 +02:00
Araq
2f43fdb837 renamefest 2014-08-23 01:43:49 +02:00
Audun Wilhelmsen
ca228e46b5 Fix compilation error when using packed pragma with vcc. 2014-03-18 21:23:35 +01:00
Audun Wilhelmsen
1e45bb79ab Added support for {.packed.} pragma on objects
Added tests for packed and union pragmas
2014-03-18 21:11:57 +01:00
Zahary Karadjov
da5d88f04e use g++ and clang++ automatically when compiling to C++ 2014-03-16 20:42:06 +02:00
Araq
36afdca87f resolved conflicts with master 2014-01-18 01:16:45 +01:00
Araq
b731e6ef1c case consistency: cs:partial bootstraps on windows 2013-12-29 03:19:10 +01:00
Dominik Picheta
f622504b5b Fixes #594
This was already partially fixed, ``expandTilde`` was the missing piece
from perfection.
2013-12-28 12:25:01 +00:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Araq
2df9b442c6 case consistency part 1 2013-12-27 15:48:53 +01:00
Grzegorz Adam Hankiewicz
c0e2cb2919 Allows passing absolute paths for output. Refs #738.
Previous to this the project base dir was added always, preventing user
specified absolute paths to work.
2013-12-20 13:33:43 +01:00
Michał Zieliński
39cabcdd27 Use quoteShell in stdlib, where appropriate. 2013-12-11 22:27:39 +01:00
Araq
d0f7db0828 always call the linker; fixes #660 2013-11-19 15:41:20 +01:00
Araq
ac474a2812 'noStackFrame' implies 'naked' in the generated C code 2013-10-06 00:10:45 +02:00
Araq
8b5aa221ad support for multiple modules of the same name; niminst supports 'platforms'; minor bugfixes 2013-09-24 16:07:07 +02:00
Araq
891f871ba7 better support for GNU's assembler 2013-09-03 23:44:31 +02:00
Araq
9b4be8a739 bugfix: -o option doesn't crash the compiler anymore 2013-07-01 20:17:36 +02:00
Araq
9fc98cefda Merge branch 'master' into newparser 2013-05-07 18:44:24 +02:00
Zahary Karadjov
11ee226192 don't perform unnecessary linking 2013-05-05 16:50:01 +03:00
Araq
c75aa98706 --out works for exes 2013-05-01 21:31:44 +02:00
Zahary Karadjov
95b28700cc bugfix: fix linking when symbol files are used 2013-04-08 23:23:12 +03:00
Araq
b7d1901747 better error message when C compilation fails 2013-03-19 08:43:45 +01:00
Araq
8281bd9f0f fixes #257 2013-03-18 01:41:09 +01:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Zahary Karadjov
f9bd8cc985 [caas] first version that actually works (still has a lot of logical memory leaks on recompilation) 2012-11-28 01:15:13 +02:00
Araq
64c638a9dc first steps for overloading support of passing blocks; bugfix: test results of 'compile' are not overwritten 2012-09-11 08:09:34 +02:00
Araq
0171566c98 openarray/varargs split; breaks bootstrapping 2012-08-16 08:34:33 +02:00
Araq
428e8a0d30 improved cross-compilation support 2012-07-09 21:24:06 +02:00
Araq
f0dd96fa58 cross-compilation improvements 2012-07-08 23:33:45 +02:00
Araq
bb82e30508 bugfix: ha.echo should be accepted 2012-07-08 22:03:06 +02:00
Zahary Karadjov
ec95d54a67 fixes for the Intel C compiler on Windows 2012-06-27 21:22:50 +03:00
Zahary Karadjov
e2d38a57ec better support for unsigned integers. 2012-06-11 21:38:01 +03:00
Araq
ff4a69b624 win64 is a supported target; bugfix: nimrod c -r on windows; stdlib uses wide char versions of the WinAPI 2012-03-04 21:44:56 +01:00
Araq
8ed3e295a3 niminst: diverse improvements; fixes #80 2012-01-13 21:15:00 +01:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Araq
6260757a2a generated scripts do no contain paths anymore; regenerated C sources 2011-12-23 11:15:19 +01:00
Araq
cd83cc81aa code gen can generate code to keep alive stack roots 2011-12-22 15:04:00 +01:00