Skip to content

Clang build fails on Windows #124

@alekulyn

Description

@alekulyn

Pretty straightforward. Changing

from gcc to clang causes the make command to fail with the following error:

> make
cmd /C mkdir build
clang -O3 -Wall -Werror -fpic -std=gnu99 -shared src/fzf.c -o build/libfzf.dll
clang: error: unsupported option '-fpic' for target 'x86_64-pc-windows-msvc'
make: *** [Makefile:24: build/libfzf.dll] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions