This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/26052] cygwin's defnes does not honor the -undef option
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Feb 2006 16:39:16 -0000
- Subject: [Bug target/26052] cygwin's defnes does not honor the -undef option
- References: <bug-26052-12107@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-02-02 16:39 -------
(In reply to comment #4)
> IMO it should be coded in the executable itself that -undef skips reading the
> specs at all.
No, that would not work as this SPECs is used for other things too.
The correct way to fix this is to move the specs handling of defines to
TARGET_OS_CPP_BUILTINS.
That will also fix the problems referenced in PR 545.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26052