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: Add -iframework


Mike Stump wrote:

	* c-opts.c (c_common_handle_option): Handle language specific
	target options.
	* opts.c (handle_option): Verify language for target options, if
	any are given.
	* opth-gen.awk: Add CL_LANG_ALL.
	* config/darwin.opt (iframework): Add.
	* config/darwin.h (TARGET_HANDLE_C_OPTION): Add.
	* config/darwin-c.c (add_system_framework_path): Export.
	(darwin_handle_c_option): Add.
	* config/darwin-protos.h (darwin_asm_output_anchor): Add.
	* doc/invoke.texi (Darwin Options): Add -iframework.
	* doc/tm.texi (TARGET_HANDLE_C_OPTION): Add.

TARGET_HANDLE_C_OPTION should be a target hook, not a new target macro; we're trying to eliminate target macros.


Fundamentally, though, this versionstill doesn't live only with Darwin configuration files, and -iframework is clearly a new feature; please hold on to it for 4.3 stage 1.

--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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