Skip to content

Any way to cross compile to windows? #265

@mizabmdgg

Description

@mizabmdgg

OS: Linux debian
Compiler: mingw64
(Lib was downloaded from release)

i try to

./configure --host=x86_64-w64-mingw32 --prefix="$(pwd)/_install" --enable-cares --disable-shared --enable-static

but got

src/conn.c:24:10: fatal error: netinet/in.h: No such file or directory
   24 | #include <netinet/in.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

sorry if this is a dumb question

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