This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Disabling sysroot
- From: "Marc Khouzam" <marc dot khouzam at ericsson dot com>
- To: <gdb at sourceware dot org>
- Date: Wed, 4 Jun 2008 09:34:02 -0400
- Subject: Disabling sysroot
- References: <6D19CA8D71C89C43A057926FE0D4ADAA04291110@ecamlmw720.eamcs.ericsson.se> <200805141603.35204.pedro@codesourcery.com>
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.
Can I set sysroot to "" or to "-" or some other symbol?
Or is setting sysroot to anything not starting with a / sufficient?
Thanks