• 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: bundle project question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bundle project question


  • Subject: Re: bundle project question
  • From: Jim Ingham <email@hidden>
  • Date: Mon, 18 Oct 2004 09:57:35 -0700

The first thing to check is that MyProject.export is really getting passed to the linker. Look at the detailed build log, and make sure "-exported_symbols_list MyProject.export" is getting passed on the compile line that builds the final bundle.

Otherwise strip -x is not going to get rid of any of the non-static symbols in your code.

Jim

On Oct 18, 2004, at 12:02 AM, Ivan Kharin wrote:

I'm trying building Mach-O bundle, designed for loading from CFM
application via special thunk CFM-Mach-O.

All working fine, but "nm -n MyProject" inside
MyProject.bundle/Contents/MacOS show me ALL global symbols, not only
symbols listed in MyProject.export

Stripping symbols enabled, "-x" linker option used.

More over -- during build, bundle linked against static C++ library,
and all library symbols visible in "nm -n" output.
This is very bad, because static lib is Crypto++ library, and exposing
crypto stuff to any stranger is not like a good idea for me.

Any suggestions?

--
Ivan Kharin

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >bundle project question (From: Ivan Kharin <email@hidden>)

  • Prev by Date: Re: Problems compiling C++
  • Next by Date: XCode 1.5 Installation
  • Previous by thread: Re[2]: bundle project question
  • Next by thread: Problems compiling C++
  • Index(es):
    • Date
    • Thread