This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug c/31133] New: allow to set sysroot via environment variable


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


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