#41070: Please include libgccjit with MinGW GCC distribution Open Date: 2020-12-23 17:28 Last Update: 2021-02-02 10:58 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-02-02 10:58 Updated by: keith Comment: Reply To davidmalcolm Looking at the patches themselves: 25-libgccjit-mingw-link-options.patch(3KB) - Use linker options appropriate for Windows As far as I can tell, Nicholas made similar changes as part of c83027f32d9cca84959c7d6a1e519a0129731501. Similar in effect, maybe ... streets apart, in implementation detail. I have several reservations about Nicolas' patch, in general, and specific to the scope of my 25-libgccjit-mingw-link-options.patch: Nicolas addresses multiple, logically distinct issues, in a single patch; that's a patching strategy with which I, personally, am not comfortable. Even to the extent that he addresses the issue of linking for MinGW, Nicolas has sprayed ifneq blocks around, like the discharge from a blunderbuss; my patch consolidates all of the associated logic into a single ifeq...else block. In naming the DLL shared library, for MinGW, Nicolas has neglected to specify an ABI version number, for inclusion within the file name; not only is this inconsistent with every other DLL in the GCC universe, it also represents a serious deficiency, and is a major contributor to "DLL Hell" for consumers on the MS-Windows platform. --------------------------------------------------------------------- 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