Skip to content

llvm-config 2.4 in msys.bat - double slashes in generated paths #3720

@llvmbot

Description

@llvmbot
Bugzilla Link 3348
Version 2.4
OS Windows XP
Reporter LLVM Bugzilla Contributor
CC @asl

Extended Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillallvm-toolsAll llvm tools that do not have corresponding tagobsoleteIssues with old (unsupported) versions of LLVM

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions