Closed webgeek1234 closed 5 years ago
Yeah, it is. I didn't even look in those makefiles, though. I'd assumed they were msvc or something native only. Mingw is the cross compiler in use. I'll tweak my ci scripts to call into those and close this if it works.
Yeah, the file names are very misleading. I'll leave it for you to close this PR if those makefiles work for you.
Yeah, it works. Not entirely a fan of hardcoding all the compiler vars, but it does the job.
I could define the toolchain with ?=
. Do you think its preferable?
Yeah. I'm pushing changes like that to all the active libretro cores. So cross compile toolchains can pass in their own compilers. Like on Fedora, the mingw packages have mingw{32,64}-make, which define full paths to the right toolchain.
These makefiles are generated from here, so if you could make the PRs to that repository instead it would be super.
I'll skip the ones with those style makefiles and look at that later. That's like ten out of the hundred repos I'm going through atm, though.
Cross-compilation targetting Windows from a Linux host is achieved with the
Makefile.windows_x86
andMakefile.windows_x86_64
makefiles. Is that what this PR is about?