-
- Downloads
re PR libobjc/11572 (GNU libobjc no longer compiled on Darwin)
2004-09-15 Andrew Pinski <pinskia@physics.uc.edu> PR target/11572 * c-incpath.h (target_c_incpath_s): Add extra_pre_includes. Add two parameters to extra_includes. (C_INCPATH_INIT): Remove. * c-incpath.c (register_include_chains): Call extra_pre_includes before adding the standard include directory. Update call to extra_includes. (!defined TARGET_EXTRA_INCLUDES): Update hook_void_charptr_charptr_int and add !define TARGET_EXTRA_PRE_INCLUDES. (!define TARGET_EXTRA_INCLUDES): Define as hook_void_charptr_charptr_int. (!define TARGET_EXTRA_PRE_INCLUDES): Likewise. (target_c_incpath): Always declare. * fixinclude.c (defined TARGET_EXTRA_INCLUDES): Declare a empty function. (define TARGET_EXTRA_PRE_INCLUDES): Likewise. * config/darwin.h: (darwin_register_frameworks): Update for the two new parameters. (darwin_register_objc_includes): Add prototype. (TARGET_EXTRA_PRE_INCLUDES): Define. * config/darwin-c.c (darwin_register_objc_includes): New function. (darwin_register_frameworks): Update for the two new parameters. (target_c_incpath): Remove. * config/t-darwin (darwin-c.o): Add $(PREPROCESSOR_DEFINES) to the compile line. * doc/tm.texi (TARGET_EXTRA_INCLUDES): Document the two new parameters. (TARGET_EXTRA_PRE_INCLUDES): Document. * gcc.c (spec_function): Add replace-outfile. (replace_outfile_spec_function): New function. * config/darwin.h (LINK_SPEC): Add replace -lobjc with -lobjc-gnu if -fgnu-runtime is supplied. * invoke.texi (replace-outfile): Document. From-SVN: r87588
Showing
- gcc/ChangeLog 39 additions, 0 deletionsgcc/ChangeLog
- gcc/c-incpath.c 17 additions, 4 deletionsgcc/c-incpath.c
- gcc/c-incpath.h 2 additions, 3 deletionsgcc/c-incpath.h
- gcc/config/darwin-c.c 45 additions, 3 deletionsgcc/config/darwin-c.c
- gcc/config/darwin.h 4 additions, 1 deletiongcc/config/darwin.h
- gcc/config/t-darwin 1 addition, 1 deletiongcc/config/t-darwin
- gcc/doc/invoke.texi 10 additions, 0 deletionsgcc/doc/invoke.texi
- gcc/doc/tm.texi 11 additions, 2 deletionsgcc/doc/tm.texi
- gcc/fix-header.c 12 additions, 2 deletionsgcc/fix-header.c
- gcc/gcc.c 23 additions, 0 deletionsgcc/gcc.c
Loading
Please register or sign in to comment