------- Comment #3 from burnus at gcc dot gnu dot org 2010-02-10 23:40 ------- (In reply to comment #2) > Daniel: Wouldn't it be enough to duplicate c-cppbuiltin.c's > builtin_define_with_value and builtin_define_with_int_value for fortran/cpp.c? > Regarding builtin_define_std: Couldn't one simply define __<TXT> and __<TXT>__ > (after stripping leading _) ignoring the unmodified version?
I tried this but it fails on x86-64-linux with: cpp.c:(.text+0x1d6b): undefined reference to `ix86_target_macros' which is the file gcc/config/i386/i386-c.c for #define TARGET_CPU_CPP_BUILTINS() ix86_target_macros () -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42954