Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: What tool to use?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What tool to use?



here is what to to to export symbols for PB:
Choosing Which Symbols to Export

You can choose which symbols the linker exports, so that other developers can link against only the specified symbols. This helps you strictly control which symbols other developers can use, and it helps you reduce the number of symbols in your library. Reducing the number of symbols also reduces the size of your library and the chances of symbol collision.
Use this feature with care and be sure to test your binary after you create it. The full list of exported symbols required for a binary to work is not always easy to determine. You may need to try a few different lists before you find one that works.

To choose which symbols to export:
1. Create a text file that lists all the symbols you want to export.
Put each symbol on a separate line. You can call the file whatever you want. This is your exports file.
2. Add that file to your project, but do not add it to any targets.
3. In the project window, click the Targets tab and open the target.
4. In the Settings > Simple View > Linker Settings section, enter the name of the exports file in the Export file field.


I'm not sure that you can use otool to show export symbols from jnilib bundle

what I usually do that open jnilib bundle with hex editor (I'm using Resorcerer)
and I'm looking for ASCII like Java_



On Monday, Sep 29, 2003, at 17:22 US/Eastern, John Cebasek wrote:

Hi All:

What tool does one use to dump a jnilib to see what methods are being exported? (Must be Monday, has to be Monday...)

John
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.


Dmitry Markman, PhD
The Concord Consortium, Concord MA
978-371-1327
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.

References: 
 >What tool to use? (From: John Cebasek <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.