https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118268
--- Comment #10 from LIU Hao <lh_mouse at 126 dot com> --- (In reply to Antoni from comment #9) > This doesn't seem to work. > > From what I can see, it seems we might need to define ASM_OUTPUT_LABELREF > for i386. Would that make sense? What's the error? I tried building bc on {i686,x86_64}-w64-mingw32 [1] and there were no errors. But I suspect it's because labels in directives are usually not quoted: .def byte; .scl 2; .type 32; .endef If you meant that it should be quoted, I'd like to say yes, it makes sense to do so. [1] https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-bc