------- 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