http://llvm.org/bugs/show_bug.cgi?id=14709

             Bug #: 14709
           Summary: Build from source instructions lacking
           Product: Build scripts
           Version: 3.2
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Makefiles
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


I just downloaded the LLVM 3.2 source tarball, wanting to build LLVM for the
Raspberry Pi (Raspbian). Unfortunately, I really can't tell how to get started
with the build.

The README.txt document refers to docs/index.html. But docs/ uses Sphinx, and
there is no pre-generated HTML.

I looked at LLVMBuild.txt, but it just talks about how the source is organized
to support the LLVM build conventions.

I looked at the LLVM Makefile guide, which suggests you're not using autoconf
(which I took to mean ./configure wasn't used, either), or any other build
system (like CMake). But I see both autoconf and CMake stuff in the distro.

Simply issuing "make" doesn't build anything; it acts like it needs configure
to run first. I looked at the FAQ, and the first question has to do with
running configure. So, I run configure, which seems to run okay, followed by
make, which seems to run okay.

A simple text file at the root of the source distro, with simple build
instructions, would be nice. It would've saved me several minutes of searching
and wondering and nearly abandoning the thought of using LLVM for my little
interpreter project.

I'm not sure if it's possible to cross-compile llvm. I did find a
"HowToBuildOnARM.rst" document, although like many such things, it assumes a
certain amount of experience.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to