This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31133] New: allow to set sysroot via environment variable
- From: "pclouds at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Mar 2007 13:23:37 -0000
- Subject: [Bug c/31133] New: allow to set sysroot via environment variable
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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