Add -iframework
Mark Mitchell
mark@codesourcery.com
Mon Oct 9 05:27:00 GMT 2006
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
More information about the Gcc-patches
mailing list