浏览代码

* give a build-time error when trying to cross-compile the compiler from
non-i386 to i386 because that will result in internalerrors later anyway

git-svn-id: trunk@8662 -

Jonas Maebe 18 年之前
父节点
当前提交
e81d4b737f
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      compiler/fpcdefs.inc

+ 4 - 0
compiler/fpcdefs.inc

@@ -106,3 +106,7 @@
 {$ENDIF MACOS}
 
 {$define SUPPORT_UNALIGNED}
+
+{$if not defined(cpui386) and defined(i386)}
+{$error Cross-compiling from non-i386 to i386 is not yet supported at this time }
+{$endif}