EtchedPixels / EmulatorKit

A collection of emulators mostly of retrobrew style systems
GNU General Public License v3.0
142 stars 41 forks source link

Delete gcc dependency. #50

Closed 610t closed 2 months ago

610t commented 2 months ago

The system such like FreeBSD, no more use gcc as default. So the compiler must specify no gcc directly but $(CC) macro.

EtchedPixels commented 2 months ago

This breaks all sorts of systems whose base compiler doesn't support all the GNU command lines or extensions. The Makefiles force gcc for a good reason as they do not stick to portable compiler options or features.

If you want to allow for clang then it needs to actually detect and verify if gcc is present and if not then check if clang is present.