Question ~ Using objcopy to convert a .a to .o

Amalaye Oyake amalaye.oyake at jpl.nasa.gov
Thu Jun 5 21:01:00 UTC 2008


Thanks ... you just have to love the Swiss army knife called binutils. As an
aside can objcopy do the same thing?

Regards,
Amalaye
-----Original Message-----
From: Steven Grunza [mailto:grunza at ulticom.com] 
Sent: Thursday, June 05, 2008 1:59 PM
To: Amalaye Oyake
Subject: RE: Question ~ Using objcopy to convert a .a to .o

I would suggest taking a look at the ar man page, specifically the -x
(extract) option.
 

>-----Original Message-----
>From: rtems-users-bounces at rtems.org 
>[mailto:rtems-users-bounces at rtems.org] On Behalf Of Amalaye Oyake
>Sent: Thursday, June 05, 2008 4:43 PM
>To: rtems-users at rtems.org
>Subject: Question ~ Using objcopy to convert a .a to .o
>
>Hello,
>
>I want to use objcopy to copy some objects from a static 
>library (.a) into a standalone object (.o). 
>
>I have a very good reason why I want to do this ... how do I 
>do it though? I have only marginally tinkered with objcpy ... 
>
>Any pointers would be appreciated.
>
>Regards,
>Amalaye
>
> 
>
>_______________________________________________
>rtems-users mailing list
>rtems-users at rtems.com
>http://rtems.rtems.org/mailman/listinfo/rtems-users
>




More information about the users mailing list