Annotation of dietlibc/README.clang, revision 1.2

1.1       leitner     1: clang (from LLVM) can be used to compile against dietlibc, but it can
                      2: not be used to compile dietlibc itself.  The reason is that dietlibc
                      3: uses gas (the GNU assembler, part of binutils) features in the assembly
                      4: parts that are not yet supported by clang.
                      5: 
                      6: The build process compensates by passing -fno-integrated-as to clang,
                      7: but that makes compilation with clang much slower than compilation with
                      8: gcc.
                      9: 
                     10: Still, the end result appears to work.
                     11: 
1.2     ! leitner    12: Note that the resulting binaries are larger. Here is the diet binary
        !            13: for comparison. Compiled with gcc 5.2:
        !            14: 
        !            15: -rwxr-xr-x    1 root     root         8176 Jul  4 20:43 diet
        !            16: 
        !            17: Compiled with clang 3.6.2:
        !            18: 
        !            19: -rwxr-xr-x    1 leitner  users        8560 Jul 29 14:49 bin-x86_64/diet-i
        !            20: 

LinuxTV legacy CVS <linuxtv.org/cvs>