3.4 PATCH: Pass multilib flags to libobjc

Zack Weinberg zack@codesourcery.com
Tue Oct 21 03:36:00 GMT 2003


Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> writes:

> A quick look at gcc.c, c.opt and c-opts.c revealed that all other
> -print-* options are handled by the driver proper.  One probably
> needs to add -Wc, (like -Wa, and -Wp,) to be able to pass flags to
> cc1 (or cc1obj in this case) specifically.  As the option handling
> maintainer, Neil should comment on this issue.

Try just adding %{print-objc-runtime-info} to objc/lang-specs.h.
I think, right before each instance of %{gen-decls}.

> For the time being, the current version should be good enough to
> return AIX to bootstrap land.  Ok for mainline?
...
> 	* Makefile.in (CC1OBJ): Remove.
> 	(runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
> 	correctly.
> 	Use .m extension for temporary file.
> 	Remove assembler temp file.

This is OK.

zw



More information about the Gcc-patches mailing list