Re: Exception catching problem since 10.4.3 using gcc 3.3 - IOKit
Re: Exception catching problem since 10.4.3 using gcc 3.3 - IOKit
- Subject: Re: Exception catching problem since 10.4.3 using gcc 3.3 - IOKit
- From: Ananda Tallur <email@hidden>
- Date: Tue, 3 Jan 2006 09:42:21 +0100
Hi Martin,
Thank you very much for your answer,
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.
I still have few questions :
-> 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..
Anand
On 2 janv. 06, at 23:20, Martin Costabel wrote:
Ananda Tallur wrote:
[]
g++ -dynamiclib -flat_namespace -o libThrow.dylib throw.o -
lIOKit
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden