Commit Graph

105 Commits

Author SHA1 Message Date
Emery Hemingway
d508303fad fix empty link file list during external compilation (#5577) 2017-03-23 13:27:16 +01:00
Andreas Rumpf
895e2aea15 Merge pull request #5317 from rokups/feature/coroutines
Coroutine improvements
2017-02-26 23:24:29 +01:00
Arne Döring
92c2a51bf7 removed compiler internal list implementation (#5371) 2017-02-22 17:33:12 +01:00
Rokas Kupstys
96c571dd96 Removed fasm support. 2017-02-20 17:24:19 +02:00
Araq
f0aef9f4e2 compile external .c files with the C compiler, not with C++; refs #5357 2017-02-14 14:39:17 +01:00
Parashurama
2aec5b6c49 fixes compiler ignoring passC/passL args when setting --cc:compiler. (#5310)
This commit change the way passC/passL cmdline arg and setting in config
files are parsed.
They are added to a separate linkOptionsCmd/compileOptionsCmd and are
inserted when compile/linking command list are requested.
2017-02-01 08:51:24 +01:00
Araq
904654b9ec with dir with space regression again 2017-01-29 00:32:25 +01:00
Araq
0c49ee25a9 fixes serious regression that was introduced in the handling of .compile pragma 2017-01-28 20:37:23 +01:00
Andreas Rumpf
efe65e2255 make tests green again 2017-01-28 08:54:53 +01:00
Araq
03a1c3b077 .compile pragma supports patterns and actions 2017-01-28 08:54:53 +01:00
Araq
5c08ca7ed2 make Nim compiler compile with 0.15.2 2017-01-07 02:43:31 +01:00
Araq
24239c2361 Merge branch 'devel' into sighashes 2016-12-17 23:04:34 +01:00
Anatoly Galiulin
b99f3743e7 Use `out` compiler option when linking static library 2016-12-16 14:26:47 +07:00
Araq
843ae830d3 Merge branch 'devel' into sighashes 2016-12-14 01:31:02 +01:00
Araq
aedafb9978 Nim compiler generates nimcache/proj.json for easier interop with external build tools 2016-12-14 01:27:44 +01:00
Araq
2eee15d7f3 Merge branch 'devel' into sighashes 2016-12-01 10:06:41 +01:00
Araq
20cf28adde fixes the regressions introduced by fix for #5076 2016-11-30 19:03:04 +01:00
Araq
72af7e6821 use a full MD5 hash with no collision detection for proc names 2016-11-08 08:37:15 +01:00
Jacek Sieka
3cd4cf4320 remove unused stuff 2016-08-09 22:54:27 +08:00
Andreas Rumpf
60b187513e stdlib and compiler don't use .immediate anymore 2016-07-29 23:51:01 +02:00
Andreas Rumpf
b43d5148c5 --listCmd also needs to affect linking step 2016-07-13 21:26:58 +02:00
Araq
b654aa399a better debugging support for native debuggers; changed name mangling; fixes #3471 2016-05-10 22:03:07 +02:00
Yuriy Glukhov
b293e2a9ec Fixes #3871 2016-02-16 14:12:51 +02:00
Aman Gupta
08843c6673 remove echo() from compiler 2015-10-01 13:16:18 -07:00
Aman Gupta
ded5753292 remove "rerun with --parallelBuild:1" message and show error inline 2015-09-30 19:05:37 -07:00
Dominik Picheta
bb7604c06f Improved "Execution of an external program failed" message. 2015-09-27 14:18:03 +01:00
Araq
370781b773 update Visual Studio command line flags 2015-08-27 01:01:58 +02:00
rku
6a7a44bbf2 cValidAssemblers -> const set
Added assembler validity check
2015-08-10 12:02:49 +03:00
rku
df0e1a515b Added fasm (external assembler) support. 2015-07-31 16:00:13 +03:00
Andreas Rumpf
1ad729ee3b Merge pull request #3020 from flaviut/rename-crc-to-hash
CRC -> Hash
2015-07-05 00:41:13 +02:00
Flaviu Tamas
62b55592e8 CRC -> Hash 2015-07-03 10:13:45 -04:00
Adam Strzelecki
18b3d04291 Turn execExternalProgram msgs into hintExecuting
Or hintLinking that is used on verbosity:1. This lets you treat this message as
regular hint, and control it via command line.
2015-07-03 14:05:00 +02:00
Flaviu Tamas
6aae246ef1 Fix #3018
Looks like the problem is that the compiler expected the hash to be a certain
number of characters, but the file actually contained a (shorter) crc hash.
2015-06-29 16:52:47 -04:00
patrick dw
2a0f7b5de7 renamed writeln to writeLine in compiler 2015-06-19 01:45:12 -05:00
Adam Strzelecki
3d266433a7 securehash: Keep module name consistent
1. All other modules don't use underscore, why this should be different?

2. Wrap some imports to 80 column
2015-06-09 22:20:05 +02:00
Flaviu Tamas
e9516e6308 Use sha1 instead of crc 2015-05-26 09:39:50 -04:00
Flaviu Tamas
4873db4c72 Rename crc module to "secure_hash" 2015-05-23 13:17:19 -04:00
Flaviu Tamas
188bba2b3c Clean up crc module
Use better names, remove quite a bit of dead code.
Change `><` to a name that's actually descriptive.
2015-05-23 13:01:52 -04:00
Andreas Rumpf
9422dbf337 Merge pull request #2657 from def-/noreturn
Pass noReturn pragma to C code.
2015-05-08 02:08:32 +02:00
def
4a2a0894ae Implicitly assume compilers to know naked and noreturn attributes 2015-05-07 22:31:45 +02:00
def
a7b39e3ebf Improve code style a bit 2015-05-07 20:35:16 +02:00
def
81cff0908e Fix the lib path used with --app:staticlib
For example if gProjectName is "src/false.nim" the old static lib name
was "libsrc/false.nim.a", now it is "libfalse.a".
2015-05-07 02:29:31 +02:00
def
78c26cbf18 Distinguish only between __declspec and __attribute__ 2015-05-05 20:35:43 +02:00
def
a9fe618756 Pass noReturn pragma to C code.
With GCC and Clang this generates __attribute__((noreturn)) in the
function declaration. (both tested) With VCC __declspec(noreturn) is
used.
2015-05-05 00:02:09 +02:00
Araq
c8bebe92e2 fixes #2569 2015-04-23 23:49:10 +02:00
def
39049e151f Get rid of deprecation warnings 2015-04-07 15:47:18 +02:00
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