• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Exception catching problem since 10.4.3 using gcc 3.3 - IOKit
[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


  • 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
  • Follow-Ups:
    • Re: Exception catching problem since 10.4.3 using gcc 3.3 - IOKit
      • From: Martin Costabel <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>)

  • Prev by Date: Re: Exception catching problem since 10.4.3 using gcc 3.3 - IOKit
  • Next by Date: Re: IOHIDFamily
  • Previous by thread: Re: Exception catching problem since 10.4.3 using gcc 3.3 - IOKit
  • Next by thread: Re: Exception catching problem since 10.4.3 using gcc 3.3 - IOKit
  • Index(es):
    • Date
    • Thread