I compiled the gnu objective runtime and renamed it to libobjc_gnu and made a pkg out of that. Now i had to edit configure.ac to put -lobjc_gnu instead of -lobjc. How can i test "if is macosx, put -lobjc_gnu else -lobjc" so that it works also for other boxes? Also, i need an #ifdef to check if is macosx to include <objc_gnu/objc.h> instead of <objc/objc.h> in GSObjCRuntime.h. Again, how can i make this test? Sorry but i never had to handle these things.
--
Michele Balistreri

Reply via email to