Re: sysroot and softlinks

<[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
> On Nov 4, 2015, at 10:15 AM, Andreas Schwab <[email protected]> wrote:
> 
> <[email protected]> writes:
> 
>> The other solution would be for solid_find to test for this case: check if
>> the name is a softlink and if so, whether its target is absolute.  If yes,
>> prefix sysroot onto the target and repeat.
> 
> How would you mark symlinks that are supposed to be relative to the host
> root?

One possible answer is not to handle that case.  Another possibility is to try that if the sysroot-prefixed version doesn't work.

The reason for trying sysroot first is that the name on the host may in fact work, but may be the wrong file (different OS or different machine architecture).

	paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.