[PATCH] D7642: Introduce the idea of a minimum libc version

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 9 14:00:28 PDT 2015


compnerd added a comment.

-gnu implies GLIBC.  Traditionally, -uclibc is used instead of -gnu for uclibc environments, and many (most?) Linux distros use -musl to indicate a MUSL environment.  For Android, the environment is -android, and thus, assumed to be bionic.  If the OS is BSD, usually, the assumption is that it is using the BSD libc.  I guess that we can disable this for Linux, but I think that this would be useful to have for non-Windows environments, particularly Android, where you do have differences between versions (IIRC L fixed issues with PIC).


Repository:
  rL LLVM

http://reviews.llvm.org/D7642





More information about the cfe-commits mailing list