Philipp Klaus Krause
2017-07-01 07:16:37 UTC
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
Thanks
According to ./configure --help output, setting CC, CXX, CPP and CXXCPPOn 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
Thanks
should allow you to set the compiler and preprocessor used to compile SDCC.
Philipp
P.S.: I also use these on Debian GNU/Linux when I want to compile SDCC
with a GCC version newer than the default.