From 7a0a4d4d7917290168450c2296f1504f06b34b88 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Thu, 24 Nov 2011 14:25:47 -0800 Subject: Added a warning to Makefile about setting compilation flags when compiling on 32-bit Linux. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index e7470c5d..727d95f0 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,9 @@ MODULES := \ all: $(PROG) default: $(PROG) +# Please note that to compile on 32-bit Linux the following optflags are required: +# -DLIN -DSIZEOF_VOID_P=4 -DSIZEOF_LONG=4 + #OPTFLAGS := -DNDEBUG -O3 -DLIN #OPTFLAGS := -DNDEBUG -O3 -DLIN64 #OPTFLAGS := -g -O -DLIN -m32 -- cgit v1.2.3