File:  [DVB] / dietlibc / README.clang
Revision 1.1: download - view: text, annotated - select for diffs
Wed Jul 29 12:48:44 2015 UTC (8 years, 10 months ago) by leitner
Branches: MAIN
CVS tags: HEAD
document clang compatibility

clang (from LLVM) can be used to compile against dietlibc, but it can
not be used to compile dietlibc itself.  The reason is that dietlibc
uses gas (the GNU assembler, part of binutils) features in the assembly
parts that are not yet supported by clang.

The build process compensates by passing -fno-integrated-as to clang,
but that makes compilation with clang much slower than compilation with
gcc.

Still, the end result appears to work.


LinuxTV legacy CVS <linuxtv.org/cvs>