<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 07/10/13 16:43, Robert Lytton wrote:<br>
</div>
<blockquote
cite="mid:E55040AE4CA5DE4A84D2754CE295AF300149ECEB@EXMAILBOX1.vo.spidergroup.co.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
<div style="direction: ltr;font-family: Tahoma;color:
#000000;font-size: 10pt;">Hi<br>
<br>
This is a patch to enable clang to call the xcore 'xcc' tool
chain for assembly and linking.<br>
Also sets appropriate paths.<br>
<br>
Robert<br>
</div>
</blockquote>
<br>
+ if (const char *cl_include_dir = getenv("XCC_C_INCLUDE_PATH")) {<br>
+ SmallVector<StringRef, 4> Dirs;<br>
+ StringRef(cl_include_dir).split(Dirs, ":");<br>
<br>
On Windows ';' is used to separate paths so this needs to be made
conditional on OS somehow. Looks good to me otherwise (at least from
a XCore point of view - I'm not hugely familiar with clang).<br>
<pre class="moz-signature" cols="72">--
Richard Osborne | XMOS
<a class="moz-txt-link-freetext" href="http://www.xmos.com">http://www.xmos.com</a>
</pre>
</body>
</html>