Keno, could you try this patch <http://reviews.llvm.org/D5016>? I've tested it myself by inverting the if (LLVM_CONFIG), but it'd be good to know if it works for its intended purpose (initial bootstrapping).
On Thu, Aug 21, 2014 at 4:02 PM, Dan Albert <[email protected]> wrote: > 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. > > > On Thu, Aug 21, 2014 at 3:55 PM, Keno Fischer < > [email protected]> wrote: > >> I tried that first, though I couldn't get it to work. I want to >> bootstrap a make&configure based llvm build with libcxx and libcxxabi. >> I'm using Cmake for libcxx, but libcxxabi seems to be coupled to >> llvm-config. >> >> On Thu, Aug 21, 2014 at 6:50 PM, Jonathan Roelofs >> <[email protected]> wrote: >> > >> > >> > On 7/27/14, 7:44 PM, Keno Fischer wrote: >> >> >> >> Some compiler generate calls into their custom runtime libraries, but >> >> don't actually link them when -nodefaultlibs is specified, so it would >> be >> >> nice to have this simple extra flag to allow you to specify that. >> >> >> >> I hope cfe-commits is the right list for this. I didn't see a separate >> one >> >> for libcxxabi, so please point me there if there is one. >> > >> > Yes, this is the correct list :) >> > >> > LGTM, although I'd suggest taking a look at CMake... Dan Albert has >> recently >> > put a bunch of effort into making that path work well. >> > >> > >> > Cheers, >> > >> > Jon >> >> >> >> >> >> http://reviews.llvm.org/D4688 >> >> >> >> Files: >> >> lib/buildit >> >> >> >> Index: lib/buildit >> >> =================================================================== >> >> --- lib/buildit >> >> +++ lib/buildit >> >> @@ -91,7 +91,7 @@ >> >> done >> >> ;; >> >> esac >> >> -$CC *.o $RC_CFLAGS $LDSHARED_FLAGS $EXTRA_FLAGS >> >> +$CC *.o $RC_CFLAGS $LDSHARED_FLAGS $EXTRA_FLAGS $EXTRA_LIBS >> >> >> >> if [ -z $RC_XBS ] >> >> then >> >> >> >> >> >> >> >> _______________________________________________ >> >> cfe-commits mailing list >> >> [email protected] >> >> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >> >> >> > >> > -- >> > Jon Roelofs >> > [email protected] >> > CodeSourcery / Mentor Embedded >> _______________________________________________ >> cfe-commits mailing list >> [email protected] >> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >> > >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
