facebook/zstd

mingw library cross-compilation

Open

#1,911 opened on Nov 28, 2019

View on GitHub
 (4 comments) (0 reactions) (1 assignee)C (2,481 forks)batch import
help wanted

Repository metrics

Stars
 (27,100 stars)
PR merge metrics
 (Avg merge 50m) (2 merged PRs in 30d)

Description

#1910 adds mingw cross compilations, and tests it in CI. But only CLI generation is tested.

The issue is, library compilation generates warnings related to -fPIC compilation flag. Since tests follow a zero-warning policy, running such a test would break CI.

The goal is to find a way to cross-compile libzstd with mingw without generating warnings.

Contributor guide