This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix Objective-C options when -E is used
- From: Lars Sonchocky-Helldorf <lars dot sonchocky-helldorf at hamburg dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Laski Ziemowit <zlaski at apple dot com>
- Date: Sat, 15 Jan 2005 01:50:03 +0100
- Subject: Re: fix Objective-C options when -E is used
Indeed. If anyone knows how to concoct a test case for this, we'd be
eternally grateful.
--Zem
have a look at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18772 .
There is some code in it that shows what's going on. It should be
possible to scan the output of -E for
"include-gnu-runtime/objc/objc-api.h" or the like. I would create such
a test if I would only know how to do that properly.
Btw. I think this test makes sense on Darwin only IMHO since Darwin is
the only OS (whether it be for ppc or x86) that has both ObjC runtimes
available (both? wait - wasn't there a SUN runtime too long long time
ago?)
regards, Lars