[cfe-dev] Header Search for Linux and Win32

Larry Olson loarabia at hotmail.com
Sun Aug 26 09:08:52 PDT 2012


I've been maintaining some clang / llvm tutorials that show how to use the basic libraries from clang on github (https://github.com/loarabia/Clang-tutorial). Because of a pull request this week to make the tutorials handle headers on Linux, I noticed that the code has drifted for handling some platforms' headers. 
In a nutshell, header handling of platform headers on Win32 and Linux Targets has moved out of InitHeaderSearch and into the Driver. The comments in the file read that the long term goal is to move all header handling out of InitHeaderSearch.
My question then is, what is the right way for folks using the basic libraries to setup the full toolchain including headers search. Is that a scenario intended to be supported elsewhere? 
I can create a component that does basically what the Driver and ToolChain code does together but before I do that, I want to make sure that I am not overlooking the Intended Way (TM).
Thanks,Larry 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120826/5a0cf4c0/attachment.html>


More information about the cfe-dev mailing list