On 3 June 2013 19:24, Ed Maste <[email protected]> wrote:
> These are the final two changes I needed to get liblldb built on FreeBSD.
And one change to get lldb to link. FreeBSD's libc doesn't have
backtrace() et al., but it's available in libexecinfo (in the FreeBSD
ports tree in devel/libexecinfo).
At this point (svn r183221 and the two changes in this thread) 37 out
of 253 tests pass. In almost all cases the failures are due to the
test Makefiles requiring GNU make, which is installed as 'gmake' on
FreeBSD. Perhaps I'll add a getMake() function to builder_base.py to
detect the make spelling to use.
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (revision 183221)
+++ CMakeLists.txt (working copy)
@@ -246,6 +246,10 @@
${DEBUG_SYMBOLS_LIBRARY})
endif()
+if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+ list(APPEND system_libs execinfo)
+endif()
+
#add_subdirectory(include)
add_subdirectory(docs)
add_subdirectory(scripts)
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev