tomhrr / dale

Lisp-flavoured C
BSD 3-Clause "New" or "Revised" License
1.02k stars 48 forks source link

Relocation problems #182

Closed tomhrr closed 7 years ago

tomhrr commented 7 years ago

The compiler assumes that the "cc" command maps to a C compiler that can be used on assembly generated by the LLVM toolchain. There are at least some versions of gcc for which this isn't the case, and relocation problems are returned. Clang works properly in those cases. Allow the C compiler to use to be configured during build time, and prefer clang if it's available.