<p>OK, I have now fixed my setup thanks to <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=617017" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/eht16">@eht16</a>. The problem was I had installed a pacman package called <code>gcc</code>, then I installed <code>mingw-w64-i686-gcc</code> as well as written on the wiki page. This was very confusing. I removed gcc, reinstalled mingw-w64-i686-gcc, then I had to close MSYS2 and restart. Now I can build tm_source_file.c and spawn.c fine :-D</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2261?email_source=notifications&email_token=AAIOWJY43IE3V63TRHZ7OILQFAILFA5CNFSM4IMLQLLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4QNNZA#issuecomment-522245860">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZ3W6BJUDFIS2USSTTQFAILFANCNFSM4IMLQLLA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJZG4TPJM5KSEIMBERDQFAILFA5CNFSM4IMLQLLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4QNNZA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2261?email_source=notifications\u0026email_token=AAIOWJY43IE3V63TRHZ7OILQFAILFA5CNFSM4IMLQLLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4QNNZA#issuecomment-522245860",
"url": "https://github.com/geany/geany/issues/2261?email_source=notifications\u0026email_token=AAIOWJY43IE3V63TRHZ7OILQFAILFA5CNFSM4IMLQLLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4QNNZA#issuecomment-522245860",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>