Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gcc/config/i386/mingw32.h: Ensure
-lmsvcrt
precede -lkernel32
This is necessary as libmsvcrt.a is not a pure import library, but also contains some functions that invoke others in KERNEL32.DLL. gcc/ * config/i386/mingw32.h (REAL_LIBGCC_SPEC): Insert -lkernel32 after -lmsvcrt. This is necessary as libmsvcrt.a is not a pure import library, but also contains some functions that invoke others in KERNEL32.DLL. Signed-off-by: Liu Hao <[email protected]> Signed-off-by: Jonathan Yong <[email protected]>
- Loading branch information