jbrandwood / pcfxtools

MIT License
8 stars 2 forks source link

OSX (perhaps Linux) support #1

Open KanedaFr opened 2 years ago

KanedaFr commented 2 years ago

Hi, is it possible to fix makefile so it could build on OSX ? I suppose it'll work on Linux too

I fixed this way

LIBS += ifeq ($(OS),Windows_NT) LIBS += -lws2_32 endif

jbrandwood commented 2 years ago

Thank you, this should definietly be fixed!

I've never built PCFXTOOLS on anything except Windows, and so hadn't seen this leftover from Alex.

At this point we really need to start transitioning liberis away from using Alex's PCFXTOOLS, because they are a bit clumsy and not needed anymore.

PlanetVB (VirtualBoy) has a Win32 build of the HyperClub's old GCC 2.95, which can extract object files and dissassemble code from HyperClub's old PC-FX libraries, which makes HuLIB and HuOBJ irrelevent ... and now that HuC's "isolink" tool can make PC-FX CDs, both bincat and pcfx-cdlink will be obsolete as soon as the example projects have been converted to use isolink.

jbrandwood commented 1 year ago

Finally fixed (for linux). I don't have a Mac myself, perhaps you could let me know if it works.