[llvm-commits] [cfe-commits] [PATCH] Add configuration of CLANG_VENDOR, VENDOR_GCC_VERISON

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Aug 29 14:14:37 PDT 2012


On 27 August 2012 14:41, ronl <ronl at codeaurora.org> wrote:
> Our productizing of llvm+clang is named and branded as hexagon-clang.
> We are producing a hexagon targeted compiler which does not rely on GNU libc.
> The product engineers did not want the output of -dumpversion to be 4.2.1 for our product,
> as this would imply some degree of compatibility with GNU libc.
> This change provides us with a mechanism to rebrand and change/enhance the product name,
> as well as emit a different sequence of digits for  -dumpversion.

So the intention is to not advertise it as gcc at all? In that can,
what about VENDOR_VERISON instead of VENDOR_GCC_VERISON?

> I realize that the predefines for __GNUC_MINOR__ and its variants are unchanged.
> It was simply the -dumpversion output we wanted modified.
>
> The changes as submitted allow for the 4.2.1 to be emitted by default.
>
> Ron.

Cheers,
Rafael



More information about the llvm-commits mailing list