Page 1 of 1

macOS Mojave?

Posted: Mon Aug 06, 2018 2:23 pm
by jack
I installed macOS Mojave on one of my partitions, after a day of testing and finding out that my pet programming tools won't work I decided that I am not ready for the change, scary thing was reverting the partition from APFS to HFS, but all went well.

Re: macOS Mojave?

Posted: Thu Aug 09, 2018 3:05 pm
by jack
I have question about macOS Mojave, when trying to compile a program using one of my pet programming tool, I would get warnings that went something like this, "linking against System.dylib is deprecated", it also complained that the dylib section of my program was not supported, the program would nonetheless compile but when run it would crash with a trap 6 error.
I regret that I didn't write down the exact error/warnings.
my question is, is Apple going to discontinue the use of Dylibs?
if so, does Apple have a new alternative?
I tried web searching without any success.
[edit]
one of my favorite hacks was to turn a static lib into a dylib, simply ar x libsome_lib.a, then gcc -shared -o libsome_lib.dylib *.o
that trick would also fail on Mojave, in Ubuntu the objets need to have been compiled with the -fpic option otherwise it won't work.