Open disunlike opened 2 years ago
change to makefile as follows
CC = gcc #Using -Ofast instead of -O3 might result in faster code, but is supported only by newer GCC versions CFLAGS = -lm -pthread -O3 -march=native -Wall -funroll-loops -Wno-unused-result -std=c99 -Wimplicit-function-declaration all: cate cate : cate.c $(CC) cate.c -o cate $(CFLAGS) clean: rm -rf cate
The reason why the bug come from is 32/64 in systems
change to makefile as follows