This is the mail archive of the gcc@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]

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


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