Browse Source

Error out on an attempt to enable pucrunch for TARGET_EMBEDDED.

git-svn-id: file:///var/svn/tigccpp/trunk@1144 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler 17 years ago
parent
commit
740805f51f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tigcc/ld-tigcc/export/pucrunch.h

+ 4 - 0
tigcc/ld-tigcc/export/pucrunch.h

@@ -18,6 +18,10 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
 
+#if defined(TARGET_EMBEDDED) || defined(TARGET_DLL)
+#error Pucrunch compression is only supported for the standalone target.
+#endif
+
 #include <stdio.h>
 
 #define F_VERBOSE    (1<<0)