physical-computation / sunflower-embedded-system-emulator

Sunflower Full-System Hardware Emulator and Physical System Simulator for Sensor-Driven Systems. Built-in architecture modeling of Hitachi SH (j-core), RISC-V, and more.
http://sflr.org
BSD 3-Clause "New" or "Revised" License
24 stars 215 forks source link

-fbracket-depth is not a valid option in gcc #18

Open Z-Gu opened 6 years ago

Z-Gu commented 6 years ago

In tools/Makefile, -fbracket-depth is in $CFLAGS under gcc-pre. This is not a valid option according to man gcc (although some searching suggests that it is available in some forks), which prevents gcc from being built on my linux (Gentoo) host, reported as: error: C compiler cannot create executables Removing this option solves this problem on my host.

phillipstanleymarbell commented 6 years ago

A result of an inadvertent addition of a clang flag to the default. Now fixed.