Different distros default what the default bitness of a compiled binary
is but the size of N assumes 32 bit. This patch specifies -m32 to be
sure.

Signed-off-by: Mel Gorman <m...@csn.ul.ie>
---
 tlbmiss_cost.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tlbmiss_cost.sh b/tlbmiss_cost.sh
index 3bb5532..792f62d 100755
--- a/tlbmiss_cost.sh
+++ b/tlbmiss_cost.sh
@@ -228,7 +228,7 @@ stream_fetch()
                return
        fi
        echo Building...
-       gcc -O3 -w -DN=44739240 $TMPFILE -o STREAM || die Failed to compile 
STREAM
+       gcc -m32 -O3 -w -DN=44739240 $TMPFILE -o STREAM || die Failed to 
compile STREAM
        echo STREAM is available at ./stream. For future use, run 
tlbmiss_cost.sh
        echo from current directory or copy STREAM into your PATH
        echo
-- 
1.6.3.3


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to