Matthew Sachs wrote:
Okay, the following works:

Panther:
g++ -c lib.cpp -fabi-version=1 -o lib.o
g++ -dynamiclib -fabi-version=1 -o libbreak.dylib lib.o
Tiger:
g++-3.3 -isystem /Developer/SDKs/MacOSX10.3.9.sdk/usr/include/ gcc/darwin/3.3 -isystem /Developer/SDKs/MacOSX10.3.9.sdk/usr/include - c -o break.o break.cpp
g++-3.3 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.3.9.sdk -o break break.o libbreak.dylib



Ah, how silly of me, of course I need to specify g++-3.3 on tiger. But then, doing that, I need neither the -isystem or the -syslibroot (by the way, why add -syslibroot to ld, why not just document NEXT_ROOT?), so why not just force g++ to be g++-3.3 for fink builds on tiger and leave it at that? Please convince me why the SDK is required.


Peter
--
Peter O'Gorman - http://www.pogma.com


------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to