Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile compile issues on OSX #61

Open
kodefoo opened this issue Jul 26, 2020 · 0 comments
Open

Makefile compile issues on OSX #61

kodefoo opened this issue Jul 26, 2020 · 0 comments

Comments

@kodefoo
Copy link

kodefoo commented Jul 26, 2020

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 $@ $^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant