-
Notifications
You must be signed in to change notification settings - Fork 15
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
msp430-gcc "/lib/cpp" fails sanity check #13
Comments
Perhaps those details would help. |
I can't find a log file Nothing new in those files that isn't put out to terminal. |
OK; please do keep the issue updated if your investigation reveals anything that could help. |
I think maybe this is related to it not being able to find cc1 or cc1plus, which I can't find on my system but when compiling a test with -v, I can see its done with clang -cc1. |
any particular details that would help in config.log? i found it with debug mode turned for brew. i found that CPP is set to /lib/cpp which isn't a thing, but changing that environment variable doesn't seem to change all the instances of it. After setting CPP="gcc -E" like suggested in some other posts, /lib/cpp/ is still used by some part of the make. ./msp430/libgcc/config.log:ac_cv_prog_CPP=/lib/cpp |
That's quite strange. Perhaps the configure script needs some special arguments to point it toward the right C compiler? |
created a symlink out of curiosity from /usr/bin/cpp to /lib/cpp (which /lib of course doesn't actually exist on OS X), and I get some other error related to a darwin definition.
|
Well, that's getting quite convoluted. My best guess is that you have (real) GCC installed, and the compilation is using that instead of OS X's Clang. Could that be the case? If so, maybe it's trying to use Apple's headers anyway and isn't compatible. |
I had a similar issue (months ago) on another machine, if I recall correctly using |
I managed to get around these errors by using the other brew repo: tgtakaoka/homebrew-mspgcc [ https://github.com/tgtakaoka/homebrew-mspgcc ] (in case anyone still gets here), on mojave. |
Do you find a solution for this ? since I have the same issue on Mac M1. |
Below is the error I get on OSX 10.11 when installing msp430-gcc.
The text was updated successfully, but these errors were encountered: