2
0
Эх сурвалжийг харах

* 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 жил өмнө
parent
commit
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}