princeprocessor icon indicating copy to clipboard operation
princeprocessor copied to clipboard

Makefile compile issues on OSX

Open kodefoo opened this issue 5 years ago • 0 comments

I could not run the Makefile on a Mac OSX 10.15.5 system using gcc.

I received the following error.

gcc -W -Wall -std=c99 -O2 -s -m64 -DOSX -o pp64.app pp.c mpz_int128.h clang: error: cannot specify -o when generating multiple output files make: *** [pp64.app] Error 1

I was able to fix the issue by removing the header file from the Makefile rules.

pp64.app: pp.c $(CC_OSX64) $(CFLAGS_OSX64) -o $@ $^

kodefoo avatar Jul 26 '20 21:07 kodefoo