# HG changeset patch # User Shinji KONO # Date 1292641339 -32400 # Node ID 54cf940e124aa606a2456ad2af168feaf173da1d # Parent cfabe454e7cc83a3941cd20cf5b9182390d622dc minor fix diff -r cfabe454e7cc -r 54cf940e124a example/word_count/Makefile.def --- a/example/word_count/Makefile.def Fri Dec 17 12:24:29 2010 +0900 +++ b/example/word_count/Makefile.def Sat Dec 18 12:02:19 2010 +0900 @@ -3,6 +3,7 @@ # include/library path # ex macosx #CERIUM = /Users/gongo/Source/Cerium +ABIBIT=64 # ex linux/ps3 CERIUM = ../../../Cerium diff -r cfabe454e7cc -r 54cf940e124a example/word_count/Makefile.macosx --- a/example/word_count/Makefile.macosx Fri Dec 17 12:24:29 2010 +0900 +++ b/example/word_count/Makefile.macosx Sat Dec 18 12:02:19 2010 +0900 @@ -12,7 +12,7 @@ TASK_OBJS = $(TASK_SRCS:.cc=.o) LIBS += -lFifoManager `sdl-config --libs` -CC += -m32 +CC += -m$(ABIBIT) .SUFFIXES: .cc .o diff -r cfabe454e7cc -r 54cf940e124a example/word_count/main.cc --- a/example/word_count/main.cc Fri Dec 17 12:24:29 2010 +0900 +++ b/example/word_count/main.cc Sat Dec 18 12:02:19 2010 +0900 @@ -465,6 +465,7 @@ array_task_num = atoi(argv[i+1]); } else if (strcmp(argv[i], "-cpu") == 0) { spe_num = atoi(argv[i+1]); + if (spe_num==0) spe_num = 1; } } if (filename==0) {