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: porting linux code to unix



Amol Gajewar wrote:
i m porting one c++ code to mac os x.

problem --> I have created one dynamic library but functions from it are not getting called and not even showing any linking error instead of that they are hanging when called.
This is happening with few cpp files. With other cpp files there is no problem.
On the other hand if i am creating object of another class in those files (files with problems)then
there is no problem.


can anybody give pointers on this strange problem.

What version of the OS? Do you link your library -single_module? Do you link your executable with -bind_at_load? What is the backtrace of the hang?


I'm betting your issues will go away with -single_module and -bind_at_load and that you have Mac OS X 10.3 or earlier :)

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

This email sent to email@hidden
References: 
 >porting linux code to unix (From: "Amol Gajewar" <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.