BlitzMax and El Capitan

Archives Forums/MacOS X Discussion/BlitzMax and El Capitan

Yasha(Posted 2015) [#1]
Tried compiling some Max today on OSX 10.11, and got this:

Linking:untitled2
ld: library not found for -lgcc_s.10.4
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Build Error: Failed to link untitled2


Looks like they're dropping support for some of the really ancient stuff that Max still targets.

Anyway, I was able to temporarily fix this by changing the mention of 10.4 in src/bmk/bmk_util.bmx to 10.9:

Line 154:    opts:+" -mmacosx-version-min=10.9"
Line 263:    cmd:+" -mmacosx-version-min=10.9"


(of course, since I'm already running Max on El Capitan, I couldn't actually recompile bmk to start, but I was able to find the relevant string in the bmk binary and change it with a hex editor, and now I can)

I don't know what the appropriate minimum version to target is (maybe 10.7 is safe?), but evidently it should be higher than 10.4.


Tricky(Posted 2015) [#2]
And this is the only problem you got with El Capitan so far? (as far as BlitzMax is concerned that is). If so, I might re-compile bmk with your changes prior to making the El Capitan update. I guess everything should be working then :)


Yasha(Posted 2015) [#3]
I think so. Been using BlitzMax heavily and nothing else seems to have changed since 10.10.


MikeHart(Posted 2015) [#4]
Which version of BMAX are you running?


Yasha(Posted 2015) [#5]
1.50.