Progress report on compiling cores

okay so I was able to compile almost every core in the mingw environment for windows 64 except for gen-plus and stella and some of the experimental cores (which is no surprise). I found a paste on paste bin that someone had left. It was a customized build-common.sh for windows and it helped me make it this far. http://pastebin.com/kwQnq5Q7 its very similar to the build-common but for some reason where that script had failed to compile even a single core this one built most of them no sweat with only a little tinkering.

both genplus and stella gave me the error

ld.exe: cannot find -lz

so if anyone knows of anything about this I could finish off these last two. I assume it is a missing dependency but so far I haven’t pinned it down.

once I get them all I will try to polish the script and release my environment to make it easier for others to build, hopefully.

Yeah, that’s the zlib dependency you’re missing. You can get it from here (may require renaming): http://gnuwin32.sourceforge.net/packages/zlib.htm

still getting the same error only this time it also says

“skipping incompatible…”

multiple times and includes a list of all those dependencies I downloaded. I tried renaming with no luck

for whatever reason ld thinks all those dependencies you linked are “incompatible” I assume it is because I am building a 64 bit binary and those libs are 32 bit?

@timde9 Possibly. You do need to match the bit-ness of the libraries to the toolchain you’re using.

i compiled my own libz.a from the source linked above and it worked!

next step is revising the build script and then release to the public.