This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: configure --with-sysroot
- From: <gp at qnx dot com>
- To: <aoliva at redhat dot com>
- Cc: <gcc at gcc dot gnu dot org>, <drow at mvista dot com>
- Date: Fri, 14 Mar 2003 17:22:03 -0000
- Subject: Re: configure --with-sysroot
Hi.
I was finally able to update my gcc source from subversions, and have started
looking at this issue.
Alexandre, the SYSROOT_SUBDIR_SPEC and SYSROOT_SUBDIR_HEADERS_SPEC seems good.
It seems that there are a couple of approaches, and I'm hoping you can
clarify your suggestion.
My first approach is if the subdir specs are defined, then they get appended
to the sysroot if TARGET_SYSTEM_ROOT is defined. This is simplest, but least
flexible, as it does not allow for a non-subdir sysroot build.
Your %R idea - do you mean that the user would set a target_sysroot with an
optional "%R" at the end to indicate that a subdir is to be used? ie:
configure --with-sysroot=/my/sysroot/%R
If so, then does the %R mean "append all subdir specs if defined"? Or should
there be a different escape for the headers subdir?
Thanks.
GP