#41070: Please include libgccjit with MinGW GCC distribution Open Date: 2020-12-23 17:28 Last Update: 2021-01-31 12:19 URL for this Ticket: https://osdn.net//projects/mingw/ticket/41070 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=41070 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2021-01-31 12:19 Updated by: keith Comment: Reply To davidmalcolm Looking at the patches themselves: 22-libgccjit-win32-dlfcn.patch(532bytes) - Patch to circumvent gratuitous references to undeclared <dlfcn.h> functions Seems reasonable, though I wonder why Nicolas Bértolo didn't run into this. Without studying the effect of his patch in exhaustive detail, I suspect that he filtered out the <dlfcn.h> dependencies, substituting LoadLibrary() calls for dlopen(), GetProcAddress() for dlsym(), FreeLibrary() for dlclose(), and writing his own substitute for dlerror(). I didn't need to do that, because legitimate MinGW runtime library distributions have supported (mostly) POSIX-compatible emulations of dlopen(), dlsym(), dlclose(), and dlerror(), since late 2014; however, the implementation does require inclusion of <dlfcn.h>, in any translation unit using them. --------------------------------------------------------------------- Ticket Status: Reporter: eliz Owner: keith Type: Feature Request Status: Open [Owner assigned] Priority: 5 - Medium MileStone: (None) Component: GCC Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: ease add libgccjit to the binaries included in the MinGW GCC distributions. This is required to be able to build projects that use libgccjit for JIT compilation of code. One example of this is "gccemacs", a branch of GNU Emacs development (soon to land on the master branch of Emacs) that compiles Emacs Lisp programs into native x86 code for faster runtime performance. Thank you. -- Ticket information of MinGW - Minimalist GNU for Windows project MinGW - Minimalist GNU for Windows Project is hosted on OSDN Project URL: https://osdn.net/projects/mingw/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/mingw/ticket/41070 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=41070