undefined identifier FILE for mingw

Innot Sagg donovinsbbkgbi at gmail.com
Mon Jul 6 13:49:31 UTC 2020

try build mingw from linux, get this error:

ldc2 -mtriple=x86_64-w64-mingw32 -betterC test.d

import core.stdc.stdio;
extern(C) int main(){
	return 0;

To fix this in druntime, we need a new version like: 
CRuntime_Mingw ?

or should reuse CRuntime_Glibc ?

More information about the digitalmars-d-ldc mailing list