RFC: Replace -isysroot with --sysroot?

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Wed Dec 1 18:21:00 GMT 2004

As it stands, -isysroot only affects header include search path.
The name is then right: for me, the leading "i" stands for
include path.  However, it's not really useful (at a glance at
least); you're likely to want the system path changed to that
same path as well.

So, can we add --sysroot, to affect the search paths as the
configure-option --with-sysroot=... does, but as a compile-time

Is this acceptable for 4.0?

(Please, I do *not* want -isysroot to work as the universal
dynamic gcc-runtime sysroot option.)

brgds, H-P

More information about the Gcc mailing list