Find the answer to your Linux question:
Results 1 to 6 of 6
Hi, I'm trying to find some information or a tutorial on "objcopy". I tried googling and searching this site but all I can find are the man pages. Is there ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714

    objcopy


    Hi,

    I'm trying to find some information or a tutorial on "objcopy". I tried googling and searching this site
    but all I can find are the man pages. Is there a good and simple tutorial for bin utility objcopy?...Gerard4143
    Make mine Arch Linux

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    11,158
    I think its primary use is to migrate object code from one platform, such as x86, to another, such as ARM. As noted in the man page, it does not support "endian-ness", so if you are trying to use it to translate x86 code (Little Endian) to Motorola 68K (Big Endian), you are probably SOL.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714
    Quote Originally Posted by Rubberman View Post
    I think its primary use is to migrate object code from one platform, such as x86, to another, such as ARM. As noted in the man page, it does not support "endian-ness", so if you are trying to use it to translate x86 code (Little Endian) to Motorola 68K (Big Endian), you are probably SOL.
    Yeah, I read the man pages and through some experimentation found out how to work some of the switches but it would be nice to find a tutorial. I guess I'll keep looking and experimenting ...Gerard4143...Thanks for the reply
    Make mine Arch Linux

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    11,158
    Well, one thing is for certain, it is not an application for anyone but "experts" who are porting software to a new hardware platform, and they don't have the source code to compile. If you don't have that requirement, then I suggest that you spend your time on more useful projects. Linux has a lot of stuff to explore that will serve you better in the long run.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714
    Quote Originally Posted by Rubberman View Post
    Well, one thing is for certain, it is not an application for anyone but "experts" who are porting software to a new hardware platform, and they don't have the source code to compile. If you don't have that requirement, then I suggest that you spend your time on more useful projects. Linux has a lot of stuff to explore that will serve you better in the long run.
    Your probably right but my interest has driven me here so I'll keep on it...Gerard4143
    Make mine Arch Linux

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    11,158
    Know what you mean. I find myself wandering down interesting technological back roads for much the same reason!
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •