Re: Thin archive relative directory calculation

2011-04-27 Thread Alan Modra
On Sun, Apr 17, 2011 at 02:42:26AM -0500, Andrew Baxter wrote: > I'm getting some incorrect directories in my thin .a files when > creating the library in a directory above the current one. For > example, if I do "ar rT ../x.a x.o" from the directory y, the > relative location of x.o as specified

Thin archive relative directory calculation

2011-04-17 Thread Andrew Baxter
I'm getting some incorrect directories in my thin .a files when creating the library in a directory above the current one. For example, if I do "ar rT ../x.a x.o" from the directory y, the relative location of x.o as specified in x.a is "../x.o" and not "y/x.o". It doesn't seem to be a proble