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
This doesn't relate to Termux but what's the output of the error?
Is the correct linker even used?
if you're using default compiler/linker and not the appropriate one then it would fail
i dunno
this was using the i686 compiler
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