#41070: Please include libgccjit with MinGW GCC distribution Open Date: 2020-12-23 17:28 Last Update: 2021-01-04 15:11 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-04 15:11 Updated by: keith Comment: All patches, up to and including #23, are sufficient to both compile, and link, the libgccjit shared library. However: • The build fails immediately thereafter, due to an improperly specified dependency, in the GCC Makefile; this is corrected by the trivial 24-libgccjit-full-driver-name.patch. • Although the generated libgccjit shared library is, in fact, a Windows DLL, it is named according to ELF convention, with a .so extension, and multiple symbolic links to variously version-annotated alternatives; furthermore, no accompanying libgccjit.dll.a, (as we would normally expect for a Windows build), is created. The latter failing is corrected by the attached 25-libgccjit-mingw-link-options.patch; this modifies the link command, for the Windows build-case, to name the generated shared library as libgccjit-0.dll, while also creating the libgccjit.dll.a import library, as a linker side effect. Additionally, it modifies the installation commands, to install both the DLL, and its import library, into appropriate locations. --------------------------------------------------------------------- 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: Please 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