Closed g-oikonomou closed 5 years ago
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.
This is a duplicate comment from the main repo (soz)
Thanks @AndrewMohawk I can confirm this on Mojave.
In the (somewhat distant) past I have installed this no problem at all, until a friend tried a couple of days ago and ran into problems, that I can confirm.
Straight off the box:
I tried the recommended fix from sampsyo/homebrew-mspgcc#13, same behaviour.
No idea why it goes and tries with
/lib/cpp
, which does not exist. So I changedmsp430-gcc.rb
like so:Different problem:
Changed the formula again, using
ENV['CPP'] = 'gcc -E'
With
ENV['CPP'] = '/usr/bin/cpp'
I am running out of ideas here, not even sure whether this is a problem with the formula or whether it's a bug with msp430-gcc sources / build system. Any clues?