I use gcc to cross compile a system with --sysroot option. However replace every gcc command with 'gcc --sysroot=blah' is kind of redundant. It would be great if I can set environment variable SYSROOT=blah (or GNUSYSROOT=blah) and leave gcc commands intact, just like CFLAGS and friends.
-- Summary: allow to set sysroot via environment variable Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pclouds at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31133