Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exception catching problem since 10.4.3 using gcc 3.3 - IOKit



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: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Exception catching problem since 10.4.3 using gcc 3.3 - IOKit (From: Ananda Tallur <email@hidden>)
 >Re: Exception catching problem since 10.4.3 using gcc 3.3 - IOKit (From: Martin Costabel <email@hidden>)



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.