Wednesday, 20 November 2019

make: cc: Command not found

Every time I try to run `make`, I get the following: ``` cc -I. -O3 -march=native -flto -o filename filename.c make: cc: Command not found make: cc: Command not found ``` I've tried to make multiple different projects, this happens every time. I have LLVM+Clang installed from BigBoss, theos installed by following @DADi's guide, and have searched online for a solution to this, without finding one. When I try to run `clang make -v` instead of just `make`, I get this: ``` clang version 5.0.1 (tags/RELEASE_501/final) Target: arm64-apple-darwin16.7.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" -demangle -lto_library /usr/share/llvm/lib/libLTO.dylib -dynamic -arch arm64 -iphoneos_version_min 5.0.0 -o a.out make -lSystem ld: library not found for -lSystem clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation) ``` Does anyone know a solution to this? Do I have to build and install llvm and clang from it's source code?

from iOSGods RSS Feed https://ift.tt/37lJD8N
v

No comments:

Post a Comment