Re: Exception catching problem since 10.4.3 using gcc 3.3 - IOKit
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi Martin, Thank you very much for your answer, I still have few questions : Anand On 2 janv. 06, at 23:20, Martin Costabel wrote: Ananda Tallur wrote: [] Try if building your library with the -single_module flag helps. -- Martin _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I have tried adding -single_module to dynamic library link options : g++ -dynamiclib -flat_namespace -single_module -o libThrow.dylib throw.o -lIOKit And it works in the sample program ! Thank you for your help. I still have to test this options in my complete application, but I am confident it will solve the problem. -> do you know how it solves the exceptions problem, when linking with IOKit, itself linked to libgcc_s.1.dylib ? -> Is there a web page explaining in details (more than man ldd) the different link options : -flat_namespace, -single_module, etc.. g++ -dynamiclib -flat_namespace -o libThrow.dylib throw.o - lIOKit This email sent to site_archiver@lists.apple.com
participants (1)
-
Ananda Tallur