[LLVMbugs] [Bug 3348] New: llvm-config 2.4 in msys. bat - double slashes in generated paths

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Jan 18 06:51:29 PST 2009


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

           Summary: llvm-config 2.4 in msys.bat - double slashes in
                    generated paths
           Product: tools
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-config
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: duncan at duncanpierce.org
                CC: llvmbugs at cs.uiuc.edu


When run from msys.bat (but not when run from DOS prompt), llvm-config outputs
double slashes for pathnames:

$ llvm-config --cxxflags --ldflags --libs
-I//include [...]
-L//lib [...]
-lLLVMLinker [...]
//lib/LLVMExecutionEngine.o [...]

g++ (3.4.5 at least) fails to understand these. llvm-config produces single
slashes from DOS prompt, and g++ works correctly.

My llvm-config was built using ./configure --prefix=
This may not be the correct way of configuring for "top level" installation.


-- 
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.



More information about the llvm-bugs mailing list