Backward compatibility of Darwin libraries

Joined
Jun 18, 2009
Messages
2
Reaction score
0
Points
1
Hi, we have a C application built on Darwin 8.4 and having problems linking against a third party dylib built on Darwin 9.8. We suspect Darwin libraries are not backward compatible, i.e. cannot link to 9.x libs on 8.4. The linker throws the 'load command 8 unknown cmd field' message

*********
/usr/bin/ld: ../../..//libconsub3.dylib load command 8 unknown cmd field
/usr/bin/ld: warning can't open dynamic library: libconsub3.dylib referenced
*********

In short, can dynamic libraries built on 9.x be linked/used with applications built on 8.x? If yes, then what gcc compiler flags should be used to link the 8.x application with the 9.x libraries?

Any help in this regard will be greatly appreciated.

Thanks...
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top