[cfe-dev] Clang and QNX
David Chisnall
csdavec at swan.ac.uk
Tue Jan 3 09:28:19 PST 2012
On 3 Jan 2012, at 16:56, Douglas Gregor wrote:
> The simplest way is to simply use Clang's command-line options to turn off all of the normal system header includes (-nostdinc) and then add -isystem <path> and -I <path> options that point to your QNX standard headers.
>
> Now, if you don't want to do that, you can modify lib/Frontend/InitHeaderSearch.cpp to teach Clang about QNX system header paths.
Or, if the QNX headers are already in path/to/QNX/sdk/include then you can just use --sysroot and provide the path to the root of the SDK install...
David
More information about the cfe-dev
mailing list