Commit graph

134 commits

Author SHA1 Message Date
Joey
559a7615ad Nintendo switch support (#8069)
* Add config section for Nintendo Switch
* Add compiler configuration for Nintendo Switch and it's CPU
* Add specific lib code for Nintendo Switch
* Add GC support for Nintendo Switch
* Update changelog for Nintendo Switch
* Update changelog with more info about fixed paths
* Cleaned up GC memory management a bit
* Relocate docs for Switch
* Rename aarch64NoneElfGcc to nintendoSwitchGCC
* Remove armv8a57
* Fix installer.ini
* Reuse code in linux and amd64
* Add posix defs for nintendo switch
* Add more defined sections for nintendo switch
* Remove old comment
* Add what's not supported for Nintendo Switch docs
* Make nintendoswitch == posix
* Remove DEVKITPRO references from nim.cfg
* Make PR extccomp changes
* Remove Result type alias
* Add separate switch consts file
* Update docs for nintendo switch
* Fix travis errors with undefined consts and add correct wait.h procs
2018-06-27 12:35:09 +02:00
Jörg Wollenschläger
7e89f9a09a Don't remove extension of source files twice, if filenames contain dots 2018-06-26 20:08:40 +09:00
Andreas Rumpf
669a564492 remove more global variables in the Nim compiler 2018-05-27 11:10:56 +02:00
Andreas Rumpf
feef109e60 make tests green again 2018-05-18 20:53:41 +02:00
Andreas Rumpf
a4e2b0c153 platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals 2018-05-18 15:18:00 +02:00
Andreas Rumpf
b2c7910fb6 compiler/ropes.nim has no global error handler anymore 2018-05-17 15:45:41 +02:00
Araq
635451591d extccomp: no globals anymore 2018-05-16 02:01:55 +02:00
Andreas Rumpf
328e7a1005 options.nim: no global variables anymore 2018-05-13 17:52:21 +02:00
Andreas Rumpf
297038f704 move more globals into the config object 2018-05-13 14:19:42 +02:00
Andreas Rumpf
3c4ceea427 move more global variables into ConfigRef 2018-05-11 15:28:26 +02:00
Andreas Rumpf
7eb39d9d26 guards.nim does compile 2018-05-11 13:07:16 +02:00
Andreas Rumpf
61e57cfa13 big refactoring: parser compiles again 2018-05-10 10:49:51 +02:00
genotrance
e931f3b5a9 Fixes #802, #803 and #3775 - genscript issues (#7677)
* Fixes #802, #803 and #3775 - genscript issues

* Test case for genscript

* Test script

* Verify on Linux

* Update categories.nim

* Fix merge

* Improve test framework

* Windows fixes
2018-04-25 10:52:32 +02:00
AdrianV
0ce28d15cc Nim namespace for cpp (#7453)
- new option --usenamespace to generate nim cpp code in its own namespace Nim
- minor changes for compatibility with the new Embarcadero = Borland C++-Builder (bcc)
2018-04-15 13:43:01 +02:00
Andreas Rumpf
70e8640244 move new sha1 module into the new 'std' namespace 2018-02-06 17:40:31 +01:00
Andreas Rumpf
274fafb2df fixes #6961 2018-02-02 17:35:04 +01:00
oltolm
42cff6e0c5 add support for building GUI applications with TCC (#7003) 2017-12-31 14:49:42 +01:00
konqoro
3495c0a46d Fix json generation logic (#6909) 2017-12-21 11:26:02 +01:00
Araq
7a711cc8e1 cleanup of the Intel compiler handling; refs #6488 2017-12-15 19:12:39 +01:00
Eduardo Bart
7c3e00d469 Fix icc compiler on linux (#6488) 2017-12-15 17:01:23 +01:00
Yuriy Glukhov
216119212c Emit relative object file paths in genScript (#6835) 2017-11-29 17:07:16 +01:00
Araq
8aebd38514 fixes #6820 2017-11-28 02:18:23 +01:00
Araq
0e67fc7450 OS X has no llvm-ar tool; use ar instead 2017-11-21 01:45:03 +01:00
Araq
7b63ee85b9 fixes #6452 2017-09-30 15:37:01 +02:00
Andreas Rumpf
7aad0d6544 added 'nim jsonscript' feature 2017-09-23 16:29:05 +02:00
Ruslan Mustakov
31ecec6473 Allow to modify backend link template (#6173) 2017-09-03 01:09:22 +02:00
Araq
733272d55d cleaned up extccomp.nim 2017-07-17 11:42:26 +02:00
Araq
91eba77b96 fixes #4763 2017-07-17 09:28:03 +02:00
Fredrik Høisæther Rasch
392f025148 Error Message if CC invocation fails (#5663) 2017-04-08 19:06:19 +02:00
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