Re: [yocto] Striping cross-compiled paths

2016-09-13 Thread Andre McCurdy
On Mon, Sep 12, 2016 at 12:16 PM, Burton, Ross wrote: > > On 12 September 2016 at 19:22, Matthew Stanger > wrote: >> >> I'm using Yocto 1.7.1 I'd like built programs to have the build path >> striped down. The goal is if I'm looking at some

Re: [yocto] Striping cross-compiled paths

2016-09-12 Thread Lennart Sorensen
On Mon, Sep 12, 2016 at 08:16:02PM +0100, Burton, Ross wrote: > If those paths come from __FILE__ and so on, then currently no. It would > be great if GCC could do this, but currently it can not. __FILE__ contains whatever was passed to gcc, so if you ask it to do: gcc file.c then __FILE__

Re: [yocto] Striping cross-compiled paths

2016-09-12 Thread Matthew Stanger
Thanks, I just found this post was addressed already -> https://lists.yoctoproject.org/pipermail/poky/2015-August/010197.html On Mon, Sep 12, 2016 at 1:16 PM, Burton, Ross wrote: > > On 12 September 2016 at 19:22, Matthew Stanger < > matthew_stan...@trimble.com> wrote: >

Re: [yocto] Striping cross-compiled paths

2016-09-12 Thread Burton, Ross
On 12 September 2016 at 19:22, Matthew Stanger wrote: > I'm using Yocto 1.7.1 I'd like built programs to have the build path > striped down. The goal is if I'm looking at some programs log after cross > compiling I want this: > > src/program.c:388 > > where I

[yocto] Striping cross-compiled paths

2016-09-12 Thread Matthew Stanger
I'm using Yocto 1.7.1 I'd like built programs to have the build path striped down. The goal is if I'm looking at some programs log after cross compiling I want this: src/program.c:388 where I currently get this: