On Fri, 30 Jun 2017, Maxwell Leiter via Sdcc-user wrote:

Hi,On OS X, Apple has decided to symlink `gcc` to `clang` (and all related
tools to their clang equivalents). So, I need to use `gcc-7` specifically to
use `gcc`. Is there a way to pass options to sdcc to use `gcc-7` instead of
`gcc`? Specifically, it uses `cpp` in SDCCmain.c

If you are just using SDCC, rather than trying to build it, you probably don't need to do anything at all. The references in SDCCmain.c to cpp will ultimately call an executable named "sdcpp" which is SDCC's customized version of gcc's preprocessor rather than use the system's generic C preprocessor.

  Erik

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to