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

[Bug libobjc/11572] [3.3/3.4/3.5 regression]: GNU libobjc no longer compiled on Darwin


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-12 06:14 -------
Oh, here is the changelog (yes I know that there are spellings errors in the changelog but it is late):
* c-incpath.h (target_c_incpath_s): Add extra_pre_includes.
Add two paramaters to extra_includes.
(C_INCPATH_INIT): Add TARGET_EXTRA_PRE_INCLUDES.
* 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 target_c_incpath.
* fixinclude.c (defined TARGET_EXTRA_INCLUDES): Update target_c_incpath.
* config/darwin.h: (darwin_register_frameworks): Update for the two new paramaters.
(darwin_register_objc_includes): Prototype.
(TARGET_EXTRA_PRE_INCLUDES): Define.
* config/darwin-c.c (darwin_register_objc_includes): New function.
(darwin_register_frameworks): Update for the two new paramaters.
* 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.

PS. Yes I know that I need to add to the docs to say that these two macros need to be defined and I 
think I need to add something about target_c_incpath as I see there is no mention of it at all in tm.texi.

PSS. One thing tested on powerpc-apple-darwin and a simple objective-C file which includes objc/
Object.h and use the option -H to print out the headers which are included.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11572


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