On Tue, Jun 3, 2008 at 10:33 AM, Hendrik Boom <<a href="mailto:hendrik@topoi.pooq.com">hendrik@topoi.pooq.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Tue, 03 Jun 2008 18:48:09 +0200, Matthijs Kooijman wrote:<br>
<br>
> Hi Hendrik,<br>
><br>
>>   -rw-r--r--  1 hendrik sbox  1328 2008-06-03 10:00 iterator -rw-r--r--<br>
>>    1 hendrik sbox  2418 2008-06-03 10:00 <a href="http://iterator.h.in" target="_blank">iterator.h.in</a><br>
> Did you run AutoGen.sh (not sure about case). I think that's needed when<br>
> compiling from svn, and it should generate the makefiles for building<br>
> iterator.h. I think.<br>
<br>
</div></div>I followed the instructions in<br>
 <a href="http://llvm.org/docs/GettingStarted.html#starting" target="_blank">http://llvm.org/docs/GettingStarted.html#starting</a>.<br>
<br>
Since then I've found the include files under the object root.<br>
Naturally, that's where generated files go.  The problem is now that llvm-<br>
config --cxxflags doesn't know about the include files under the object<br>
root.  Of course there's an easy workaround -- just specify an extra<br>
include directory on my g++ line, but it should probably get fixed in the<br>
SVN sources.</blockquote><div><br>There is another way to resolve this, run make install, and then use the installed llvm-config, which will include a single directory containing both generated and regular header files. If *that* part doesn't work, please respond or open a PR. I'll be happy to prod llvm-config until it works correctly. However, I'm not sure trying to support all the bizarre ways ./configure and Make can build the generated files within llvm-config is a worthwhile investment of time.<br>
<br>-Chandler<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<div><div></div><div class="Wj3C7c"><br>
-- hendrik<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br>