[cfe-dev] Clang and QNX
jschmi10 at harris.com
Tue Jan 3 11:55:25 CST 2012
I will attempt that as well as Doug's suggestions.
From: David Chisnall [mailto:csdavec at swan.ac.uk]
Sent: Tuesday, January 03, 2012 12:28 PM
To: Douglas Gregor
Cc: Schmiedlin, Joshua; cfe-dev at cs.uiuc.edu
Subject: Re: [cfe-dev] Clang and QNX
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...
More information about the cfe-dev