PATCH for gcc34 (so it will build ports)

看板DFBSD_submit作者時間20年前 (2005/04/12 20:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
I'm deep into bikeshed territory with this one, so I don't expect it will be committed. (But it works for me.) --- gnu/usr.bin/cc34/cc_prep/config/dragonfly-spec.h.orig 2005-04-11 10:26:13.000000000 -0700 +++ gnu/usr.bin/cc34/cc_prep/config/dragonfly-spec.h 2005-04-11 10:43:33.000000000 -0700 @@ -63,13 +63,17 @@ else \ builtin_define ("__DragonFly__"); \ builtin_define ("__DragonFly_cc_version=100001"); \ + builtin_define ("__FreeBSD__=4"); \ + builtin_define ("__DragonFly_cc_version=100001"); \ + builtin_define ("__FreeBSD_cc_version=460001"); \ builtin_define_std ("unix"); \ builtin_define ("__KPRINTF_ATTRIBUTE__"); \ builtin_define ("__GCC_VISIBILITY__=1"); \ builtin_assert ("system=unix"); \ builtin_assert ("system=bsd"); \ builtin_assert ("system=DragonFly"); \ - DFBSD_TARGET_CPU_CPP_BUILTINS(); \ + builtin_assert ("system=FreeBSD"); \ + DFBSD_TARGET_CPU_CPP_BUILTINS(); \ } \ while (0)
文章代碼(AID): #12MxY700 (DFBSD_submit)
文章代碼(AID): #12MxY700 (DFBSD_submit)