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]

Re: introduce configure --with-sysroot


Alexandre Oliva <aoliva@redhat.com> writes:

> Ok to install?
> 
> 
> Index: ChangeLog
> from  Alexandre Oliva  <aoliva@redhat.com>
> 	Angela Marie Thomas  <angela@cygnus.com>
> 	Andrew Haley  <aph@cambridge.redhat.com>
> 
> 	* configure.in: Add --with-sysroot=XXX.
> 
> Index: gcc/ChangeLog
> from  Alexandre Oliva  <aoliva@redhat.com>
> 	Angela Marie Thomas  <angela@cygnus.com>
> 	Brendan Kehoe  <brendan@cygnus.com>
> 	Nick Clifton  <nickc@redhat.com>
> 	Andrew Haley  <aph@redhat.com>
> 
> 	* configure.in (--with-sysroot): New.  Don't inhibit libc if
> 	given.  AC_SUBST TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE
> 	and CROSS_SYSTEM_HEADER_DIR.
> 	* configure: Rebuilt.
> 	* Makefile.in (CROSS_SYSTEM_HEADER_DIR): Set in configure.
> 	(TARGET_SYSTEM_ROOT): New.
> 	(DRIVER_DEFINES): Define CROSS_INCLUDE_DIR from
> 	CROSS_SYSTEM_HEADER_DIR.
> 	(stmp-fixinc): Simplify creation of $(libsubdir).
> 	(deduced.h, stmp-fixproto): Quote SYSTEM_HEADER_DIR properly.
> 	(install-mkheaders): Likewise.
> 	* gcc.c (target_system_root): New variable.
> 	(add_sysrooted_prefix): New function.
> 	(process_command): Recompute run-time target_system_root from
> 	gcc_exec_prefix.
> 	(do_spec_1): Process 'R' spec.
> 	(main): Add md_exec_prefix to exec_prefixes regardless of
> 	startfile_prefix_spec.  Use add_sysrooted_prefix for
> 	startfile_prefixes, and don't skip the default ones when cross
> 	compiling with sysroot enabled.  Removed unused case of
> 	non-absolute standard_startfile_prefix.
> 	* config/interix.h: Remove the only potential, yet disabled,
> 	occurrence of non-absolute (empty) standard_startfile_prefix.
> 	* config/sh/linux.h (LIB_SPEC): Add -rpath-link in non-static
> 	linking.
> 	* config/mips/linux.h (LIB_SPEC): Define as in sh/linux.h.

This is OK.  However, you can't install it, because we're currently in
stage 3 and it's new functionality not a bugfix.  Stage 3 will end
October 15 when the 3.3 branch is cut.

[I know the toplevel web page doesn't say we're in stage 3, I will
make the one-character change right away.]

-- 
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>


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