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
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