Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - strip: (7 Items)
   
strip  
I just noticed the host version of strip isn't availble  on linux host (haven't check windows) of 6.4.0 and 6.4.1 but 
it's there for 632.  

On linux will the native strip work fine?
Re: strip  
It is there but it is not generic, i.e. ntox86-strip

Mario Charest wrote:
> I just noticed the host version of strip isn't availble  on linux host (haven't check windows) of 6.4.0 and 6.4.1 but 
it's there for 632.  
> 
> On linux will the native strip work fine?
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post29373
> 
RE: strip  

> -----Original Message-----
> From: Elena Laskavaia [mailto:community-noreply@qnx.com]
> Sent: May-13-09 12:34 PM
> To: general-toolchain
> Subject: Re: strip
> 
> It is there but it is not generic, i.e. ntox86-strip

Thanks Elena!

> 
> Mario Charest wrote:
> > I just noticed the host version of strip isn't availble  on linux
> host (haven't check windows) of 6.4.0 and 6.4.1 but it's there for 632.
> >
> > On linux will the native strip work fine?
> >
> > _______________________________________________
> > General
> > http://community.qnx.com/sf/go/post29373
> >
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post29375
> 
Re: strip  
Strictly speaking that's the target strip, isn't it?  (Although I can't
think of anything NTO specific in it.)

On the host side, the Linux strip should work just fine (for host, i.e.
Linux, objects).

On Wed, 2009-05-13 at 12:33 -0400, Elena Laskavaia wrote:
> It is there but it is not generic, i.e. ntox86-strip
> 
> Mario Charest wrote:
> > I just noticed the host version of strip isn't availble  on linux host (haven't check windows) of 6.4.0 and 6.4.1 
but it's there for 632.  
> > 
> > On linux will the native strip work fine?
> > 
> > _______________________________________________
> > General
> > http://community.qnx.com/sf/go/post29373
> > 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post29375
> 
RE: strip  

> -----Original Message-----
> From: Neil Schellenberger [mailto:community-noreply@qnx.com]
> Sent: May-13-09 12:40 PM
> To: general-toolchain
> Subject: Re: strip
> 
> Strictly speaking that's the target strip, isn't it?  (Although I can't
> think of anything NTO specific in it.)
> 
Under host that's a host binary no?

> On the host side, the Linux strip should work just fine (for host, i.e.
> Linux, objects).

I tried but it corrupted nto executables.

> 
> On Wed, 2009-05-13 at 12:33 -0400, Elena Laskavaia wrote:
> > It is there but it is not generic, i.e. ntox86-strip
> >
> > Mario Charest wrote:
> > > I just noticed the host version of strip isn't availble  on linux
> host (haven't check windows) of 6.4.0 and 6.4.1 but it's there for 632.
> > >
> > > On linux will the native strip work fine?
> > >
> > > _______________________________________________
> > > General
> > > http://community.qnx.com/sf/go/post29373
> > >
> >
> > _______________________________________________
> > General
> > http://community.qnx.com/sf/go/post29375
> >
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post29377
> 
Re: strip  
Mario Charest wrote:
> 
>> -----Original Message-----
>> From: Neil Schellenberger [mailto:community-noreply@qnx.com]
>> Sent: May-13-09 12:40 PM
>> To: general-toolchain
>> Subject: Re: strip
>>
>> Strictly speaking that's the target strip, isn't it?  (Although I can't
>> think of anything NTO specific in it.)
>>
> Under host that's a host binary no?

It is a host binary that strips target binaries. We don't ship target 
binutils except for x86 self hosted.

>> On the host side, the Linux strip should work just fine (for host, i.e.
>> Linux, objects).
> 
> I tried but it corrupted nto executables.

I have a pretty good guess why this happens, but it's not really 
important. You should use the Neutrino binutils for Neutrino binaries.

Regards,

Ryan Mansfield
RE: strip  
On Wed, 2009-05-13 at 13:05 -0400, Mario Charest wrote:
> 
> > -----Original Message-----
> > From: Neil Schellenberger [mailto:community-noreply@qnx.com]
> > Sent: May-13-09 12:40 PM
> > To: general-toolchain
> > Subject: Re: strip
> > 
> > Strictly speaking that's the target strip, isn't it?  (Although I can't
> > think of anything NTO specific in it.)
> > 
> Under host that's a host binary no?

Strictly speaking its a host binary which strips target objects (e.g.
the ntoppc-strip runs on the x86 Linux host but strips files meant for
NTO PPC targets; likewise ntox86-strip runs on the x86 Linux host but
strips files meant for NTO x86 targets).

> 
> > On the host side, the Linux strip should work just fine (for host, i.e.
> > Linux, objects).
> 
> I tried but it corrupted nto executables.

I'm not too surprised (there are a couple of NTO specific bits-n-pieces
in our binaries).  As I mentioned, the host (x86 Linux) strip will work
fine for host (x86 Linux) objects - but doesn't work for target (NTO
x86) objects.

Ah, the joys of cross compiling. ;-)