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: How To: combining several input moduls into one




On 20.04.2005, at 16:17, Andreas Grosam wrote:

I want to build a dynamic shared library which consists of several modules. I would like to apply an optimization which combines the several .o files into one .o file before libtool constructs the final shared library.

The corresponding flag for the static linker ld on the command line would be "-r", for instance:

ld -r -o modul1.o module2.o

How can i accomplish this in XCode?

Does the flag passed to gcc "-Wl,-single_module" does exactly this?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >How To: combining several input moduls into one (From: Andreas Grosam <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.