<div dir="ltr">Yeah, I should probably get rid of the llvm-config dependency. If you've already done a make install of llvm, then it works fine, but it's a pain for the initial bootstrapping.</div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Thu, Aug 21, 2014 at 3:55 PM, Keno Fischer <span dir="ltr"><<a href="mailto:kfischer@college.harvard.edu" target="_blank">kfischer@college.harvard.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I tried that first, though I couldn't get it to work. I want to<br>
bootstrap a make&configure based llvm build with libcxx and libcxxabi.<br>
I'm using Cmake for libcxx, but libcxxabi seems to be coupled to<br>
llvm-config.<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Aug 21, 2014 at 6:50 PM, Jonathan Roelofs<br>
<<a href="mailto:jonathan@codesourcery.com">jonathan@codesourcery.com</a>> wrote:<br>
><br>
><br>
> On 7/27/14, 7:44 PM, Keno Fischer wrote:<br>
>><br>
>> Some compiler generate calls into their custom runtime libraries, but<br>
>> don't actually link them when -nodefaultlibs is specified, so it would be<br>
>> nice to have this simple extra flag to allow you to specify that.<br>
>><br>
>> I hope cfe-commits is the right list for this. I didn't see a separate one<br>
>> for libcxxabi, so please point me there if there is one.<br>
><br>
> Yes, this is the correct list :)<br>
><br>
> LGTM, although I'd suggest taking a look at CMake... Dan Albert has recently<br>
> put a bunch of effort into making that path work well.<br>
><br>
><br>
> Cheers,<br>
><br>
> Jon<br>
>><br>
>><br>
>> <a href="http://reviews.llvm.org/D4688" target="_blank">http://reviews.llvm.org/D4688</a><br>
>><br>
>> Files:<br>
>>    lib/buildit<br>
>><br>
>> Index: lib/buildit<br>
>> ===================================================================<br>
>> --- lib/buildit<br>
>> +++ lib/buildit<br>
>> @@ -91,7 +91,7 @@<br>
>>     done<br>
>>     ;;<br>
>>   esac<br>
>> -$CC *.o $RC_CFLAGS $LDSHARED_FLAGS $EXTRA_FLAGS<br>
>> +$CC *.o $RC_CFLAGS $LDSHARED_FLAGS $EXTRA_FLAGS $EXTRA_LIBS<br>
>><br>
>>   if [ -z $RC_XBS ]<br>
>>   then<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> cfe-commits mailing list<br>
>> <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
>><br>
><br>
> --<br>
> Jon Roelofs<br>
> <a href="mailto:jonathan@codesourcery.com">jonathan@codesourcery.com</a><br>
> CodeSourcery / Mentor Embedded<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</div></div></blockquote></div><br></div>