Cross compiling error on Debian (VM)

So I planned on cross compiling on a VM targeting Windows and I got a flag error relating on -mconsole. Any solutions?
6 Replies
Furry
Furry3y ago
This doesn't relate to Termux but what's the output of the error?
Mr. Bunbunmaru
Mr. BunbunmaruOP3y ago
Furry
Furry3y ago
Is the correct linker even used? if you're using default compiler/linker and not the appropriate one then it would fail
Mr. Bunbunmaru
Mr. BunbunmaruOP3y ago
i dunno
Mr. Bunbunmaru
Mr. BunbunmaruOP3y ago
this was using the i686 compiler
Furry
Furry3y ago
there are missing headers. most of them are local headers from source tree which I couldn't tell about a fix than putting the header file in the correct location, second is sdl which you need to provide sdl headers on an appropriate sysroot. I doubt headers from linux would even work linking .so to a windows executable
Want results from more Discord servers?
Add your server