[LLVMbugs] [Bug 1106] NEW: [llvm-gcc] "--enable-llvm" only works with a build-location, not an installed version.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jan 10 15:47:14 PST 2007


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

           Summary: [llvm-gcc] "--enable-llvm" only works with a build-
                    location, not an installed version.
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: llvm-gcc
        AssignedTo: chandlerc at gmail.com
        ReportedBy: chandlerc at gmail.com


When installing LLVM and the LLVM-GCC C/C++ Front End to a system, the build
directories of LLVM are often not available at the time of installing the front
end. However, the '--enable-llvm' flag in the front end configure scripts does
not recognize a prefix for an installed set of LLVM libraries, or default to the
install prefix that it is itself configured with, or the existing system path to
locate suitable LLVM libraries. There are 3 goals, tied to the same section of code:

1) Recognize the directory passed to '--enable-llvm' as either a build
directory, or an install prefix for LLVM. (appending /bin or /lib as necessary)

2) If no directory is specified assume the configured prefix, and search as in 1.

3) (Optional) If still no installation found, search for llvm-config in PATH,
and use it to determine the location of all libraries.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list