Re: How to extract *.o from a given *.a in linker scripts

Henrik Carlqvist <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization SunSITE.dk - Supporting Open source
Message-ID <[email protected]>
"John Pickwick" <[email protected]> wrote:
> in my linker command script, I'd like to map at a specified address all the
> *.o object files from a library *.a.

I'm not really sure what you mean by that, but I do know the solution to
your question in the subject:

ar x libfile.a

Will extract *.o from the given libfile.a.

regards Henrik
-- 
The address in the header is only to prevent spam. My real address is:
hc1(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.