[LLVMdev] Introducing LLBrowse: A graphical browser for LLVM modules

Talin viridia at gmail.com
Tue Feb 15 09:47:06 PST 2011


LLBrowse can now successfully build and run under Snow Leopard.

The main problem was that wxWidgets uses the Carbon APIs, and there's
apparently no 64-bit version of Carbon, so applications have to be compiled
as 32-bits. Supposedly there's a new Cocoa-based version of wxWidgets that
is in development, but it's still experimental.

Here's the cmake command I used:

cmake -G "Xcode" -D LLVM_CONFIG_EXECUTABLE="<path-to-llvm-config>" -D
CMAKE_OSX_ARCHITECTURES="i386;ppc" <path-to-llbrowse-trunk>

Note that you will also need a 32-bit version of the LLVM libraries as well.
Defining CMAKE_OSX_ARCHITECTURES="i386;ppc" on the cmake command line works.
You probably want to also set CMAKE_INSTALL_PREFIX so that you don't install
the 32-bit libraries over your 64-bit ones.

In any case, the program does appear to work, although it could use some OS
X polish.

-- Talin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110215/6df22876/attachment.html>


More information about the llvm-dev mailing list