Re: [Mingw-w64-public] gcc parameter -mcrtdll= for choosing Windows C RunTime DLL library

2022-11-20 Thread Martin Storsjö
On Sun, 20 Nov 2022, Pali Rohár wrote: Hello! I would like to propose a new parameter for gcc: -mcrtdll= to allow specifying against which Windows C Runtime library should be binary linked. On Windows there are more crt libraries and currently gcc links to libmsvcrt.a which is in most cases syml

Re: [Mingw-w64-public] Problems when building NT kernel drivers with GCC / LD

2022-10-30 Thread Martin Storsjö
On Sun, 30 Oct 2022, Pali Rohár wrote: * LD --dynamicbase is not working correctly. If used for PE executables (not dynamic libraries) then it does *not* generate relocation info. And without relocation info in PE binary, it is not possible to relocate base address. Which makes dynamic base n