I am compiling an old project with Composer X 2013 U1 on a Mac. It compiles and links fine but I am compiling on Mac OS X 10.7 and I would like the app to be compatible with Mac OS X 10.6 too. So I add this argument: -mmacosx-version-min=10.6 When I do it, the linkier fails:
Undefined symbols for architecture x86_64: "_main", referenced from: start in crt1.10.6.o
ld: symbol(s) not found for architecture x86_64
I guess I will have to add some special library to the linker?