[lldb-dev] Compiling lldb (trunk) on FreeBSD

Samuel Jacob samueldotj at gmail.com
Tue Apr 30 15:29:51 PDT 2013


Thanks Filipe for the pointer.

I found FreeBSD 9.1 includes libc++.
After upgrading to FreeBSD 9.1 I was able to compile llvm/clang
without any problem.
But lldb failed to compile in FreeBSD specific codes.
After few hacks(attached) I was able to compile, may be somebody
interested in FreeBSD should take a look and fix it correctly.

Thanks
Samuel

On Mon, Apr 29, 2013 at 3:54 PM, Filipe Cabecinhas
<filcab+lldb-dev at gmail.com> wrote:
> Hi Samuel,
>
> I suggest you try #freebsd-clang on OFTC and ask there. I think
> usually there's an additional library that you must use with libc++,
> but I suppose they'll be able to help you there.
>
> After you get clang+libc++, compiling lldb should be easy.
>
> Regards,
>
>   Filipe
>
> On Mon, Apr 29, 2013 at 2:24 PM, Samuel Jacob <samueldotj at gmail.com> wrote:
>> I want to try a patch on FreeBSD so trying to setup lldb dev
>> environment on a FreeBSD(9.0) VM.
>> My compilation fails because lldb requires cxx11 and FreeBSD 9.0
>> doesn't have supporting c++ std library. I tried with --enable-libcpp
>> but it also fails because FreeBSD doesnt have libcpp(I dont know how
>> to bootstrap libcpp).
>>
>> Anybody compiling lldb on FreeBSD please help me on this. Since I am
>> trying on a VM I can use any version of FreeBSD. Is any bare minimal
>> FreeBSD development VMDK ?
>>
>> Thanks
>> Samuel
>> _______________________________________________
>> lldb-dev mailing list
>> lldb-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lldb_freebsd.diff
Type: application/octet-stream
Size: 5117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130430/2cb02ec4/attachment.obj>


More information about the lldb-dev mailing list