[cfe-dev] Implementation of stdbool.h
gordonhenriksen at mac.com
Thu Feb 28 10:05:50 PST 2008
On Feb 28, 2008, at 12:47, Chris Lattner wrote:
> Does anyone know a good way to find a path relative to the
> executable? Ideally I'd like to [make] clang search the "../include/
> clang" path from its executable. Is there a good way to do this?
It's ugly on Unix: Perform a PATH search using argv. There may be
better platform-specific way to do it, but this is portable.
Maybe this should be a lib/System facility.
More information about the cfe-dev