CatE icon indicating copy to clipboard operation
CatE copied to clipboard

-bash: ./cate: cannot execute binary file

Open disunlike opened this issue 2 years ago • 1 comments

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 

disunlike avatar Mar 15 '22 02:03 disunlike

The reason why the bug come from is 32/64 in systems

disunlike avatar Mar 15 '22 02:03 disunlike