[cfe-commits] [patch] Remove most of the --with-cxx-* logic

Rafael Espíndola rafael.espindola at gmail.com
Thu Feb 2 03:00:18 PST 2012


> I like this name better, if at least it was also pointing to the top
> dir of the gcc install, as this name implies...  Is there a reason we
> need to point to the subdir that contains the libstdc++ include files
> instead of pointing to the top dir of the toolchain?

We don't need to point to the inner directory, and this patch changes
that. We used to just because it was easier in the days we had no
central logic for understanding a gcc installation layout.

> So we want clang to use a gcc based toolchain, then why don't we call
> it --with-gcc-toolchain?

I like the idea of having "prefix" in the name to match the "--prefix"
option used when building gcc. An updated patch is attached. Is there
anything else I have do change for cmake?

I do intend to make this a runtime option too, but can that be a
follow up patch?

> Sebastian
> --
> Qualcomm Innovation Center, Inc is a member of Code Aurora Forum

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm.patch
Type: application/octet-stream
Size: 12775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120202/e1a54b8b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.patch
Type: application/octet-stream
Size: 5780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120202/e1a54b8b/attachment-0001.obj>


More information about the cfe-commits mailing list