This is the mail archive of the gcc-patches@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] |
The logic looks OK. But, thinking ahead, given that we currently support this:
./configure --prefix=... make prefix=...
Yet this:
./configure --with-build-sysroot=... make SYSROOT_CFLAGS_FOR_TARGET=...
It seems clumsy. I wonder if SYSROOT_FOR_TARGET is a bettern choice, or even just "sysroot" if this is going to become popular enough.
And if this sets the sysroot where gcc assumes things are installed,
Another thought is... can we specify sysroot as a relative directory off prefix? I mean, --with-sysroot='$(prefix)/...', so that changing prefix also changes sysroot? I expect the logic for that would be more complex though.
I'm OK with you checking it in and changing the names later, though, if this is blocking anyone.
-- Mark Mitchell CodeSourcery, LLC mark@codesourcery.com (916) 791-8304
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |