| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Peter O'Gorman [mailto:email@hidden] wrote:
Use the compiler driver to link, replace gcc with g++ if linking c++ code.
gcc -dynamiclib -flat_namespace -Wl,-single_module \ - -compatibility_version 17.1 -current_version 17.1 \ - -Wl,-headerpad_max_install_names \ - -exported_symbols_list $export -o name.dylib
Is that going to work on XCode 1.1's GCC 3.3? I'd prefer to keep the commands as similar as possible for the two different build platforms, since I can't just drop the old one - we have to keep shipping maintenance versions on it.
Yes. It has always been recommended to use the compiler driver for linking.
Peter _______________________________________________ Do not post admin requests to the list. They will be ignored. Unix-porting mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/unix-porting/email@hidden
| References: | |
| >RE: saveFP, restFP (From: "Dallman, John" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.