[prev in list] [next in list] [prev in thread] [next in thread]
List: cfe-dev
Subject: Re: [cfe-dev] Standalone tools
From: Kim Gräsman <kim.grasman () gmail ! com>
Date: 2014-04-28 5:35:23
Message-ID: CANt7B+cpU4U2dtgtA23iZmKtnE5zRb6iXqnMaeOuN-9cR-5wYg () mail ! gmail ! com
[Download RAW message or body]
Hi Jacob,
On Sun, Apr 27, 2014 at 4:09 PM, Jacob Carlborg <doob@me.com> wrote:
>
> I'm having the same problem. Currently I'm telling my users to separately
> install Clang.
Do you deploy to Unix-like systems only? I'm guessing this works well
there, because everything is rooted in /usr/bin, right?
So:
/usr/bin/your-tool
/usr/bin/clang
/usr/lib/clang/3.5.0/include
?
On Windows, the situation is a little different as everything installs
into C:\Program Files\LLVM, including the headers. So the only way to
have a tool find the headers would be to install it into LLVM's root
directory, which seems a little intrusive...
> For the include files, it also work to copy them to the
> standard header locations.
You mean the equivalent of /usr/lib/clang/3.5.0/include? If Clang was
installed afterwards, wouldn't they conflict?
> It would be nice if the header files could be embedded in the tool (the
> executable).
That sounds like a lovely idea.
The only obvious way I can see, given the current state, to achieve
some kind of isolation is to:
- install IWYU into /usr/bin/include-what-you-use
- install Clang headers into /usr/lib/include-what-you-use/<version>/include
For Windows, replace "/usr" with some install directory, e.g.
"C:\Program Files\IWYU"
This is assuming the headers is the only thing I need to worry about,
but for a syntax-only tool, it should be, right?
Thanks,
- Kim
_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic