[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ld-2.9.1: REQ: better support for relative link script paths



> I'm not sure if we need all that hair.

Me either.  That was my point.

> I assume you want it because you're aiming for a linker script that only
> contains:
> 
>   GROUP ( libc.so.6 libc_nonshared.a )
> 
> but which automatically finds /lib/libc.so.6 and
> /usr/lib/libc_nonshared.a.  While this is neat, I don't think it is
> necessary.

I don't care what it looks like, but that is what it needs to do, yes.

> I would settle for writing the above script as:
> 
>   GROUP ( THISDIR/../../lib/libc.so.6 THISDIR/libc_nonshared.a )
> 
> where THISDIR is shorthand for ``the directory which contains this
> linker script.''

Fine by me.  


Reply to: