Duktape fails to compile with DJGPP (DOS port of GCC)
See original GitHub issueThere is a very simple fix, though… I added in
#ifdef __DJGPP
#undef DUK_USE_DATE_PRS_STRPTIME
#endif
in duk_config.h after the OS/compiler detection logic and my test program compiled and ran flawlessly.
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (9 by maintainers)
Top Results From Across the Web
Issues · svaarala/duktape - GitHub
Duktape - embeddable Javascript engine with a focus on portability and compact footprint - Issues ... Duktape fails to compile with DJGPP (DOS...
Read more >22.9 DJGPP as cross-compiler - delorie software
Q: I want to build GCC as a Unix-to-DOS cross-compiler. ... The Cygwin port of GCC can also be configured as a cross-compiler...
Read more >Portability - (o) Duktape Wiki
Platform and compiler specific issues are discussed in more detail below the table. ... Linux, GCC, x32, No known issues, use -mx32 ....
Read more >Porting Blood Nova to DOS | blog - shdon.com
Examples of such interpreters are Sami Varaala's Duktape, ... provided I can build them with DJGPP (a DOS port of the GCC compiler)....
Read more >GCC cross compiler for DOS produces linker errors for simple ...
The problem is that you have not properly built a DJGPP cross compiler and all the needed components. You do not show us...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Re: SIGABRT, it’s best practice for the first call into Duktape to be a protected one (e.g. duk_safe_call()) so that you should not easily be able to invoke an abort.
Can we have a .1 release with this? I’m porting tic80 to djgpp and this is one of pieces it needs