This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Disabling sysroot


> Date: Wed, 4 Jun 2008 11:13:13 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb@sourceware.org
> 
> On Wed, Jun 04, 2008 at 09:34:02AM -0400, Marc Khouzam wrote:
> > Hi,
> > 
> > in the doc it says:
> > 
> >    If you want to use `solib-search-path' instead of 
> > `sysroot', be sure to set `sysroot' to a nonexistent directory to prevent GDB 
> > from finding your host's libraries.
> > 
> > Is there a recommended way to turn off sysroot?
> > I can set it to something like /what/are/the/odds/of/this/dir/actually/existing
> > But it is not very elegant.
> 
> I use /dev/null, which will never be a directory.

Is this worth mentioning in the manual?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]