Am 30.06.2017 um 18:43 schrieb Maxwell Leiter via Sdcc-user:
> 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 CXXCPP
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.


------------------------------------------------------------------------------
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