Skip to content

build fail on windows #34

Closed
Closed

Description

compiling libz on windows fails.

rust toolchain: stable-x86_64-pc-windows-gnu
gcc: nuwen mingw

the libz.a from mingw is not used, which seems legit. but i do not understand why the build from scratch fails.

it tells at the end "flag -z not usable at this position" but, i dont know what to do about it.

Compiling libz-sys v1.0.18
error: failed to run custom build command for `libz-sy
process didn't exit successfully: `E:\workspace\js\tar
--- stdout
OPT_LEVEL = Some("0")
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
TARGET = Some("x86_64-pc-windows-gnu")
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CC_x86_64-pc-windows-gnu = None
CC_x86_64_pc_windows_gnu = None
HOST_CC = None
CC = None
TARGET = Some("x86_64-pc-windows-gnu")
HOST = Some("x86_64-pc-windows-gnu")
CFLAGS_x86_64-pc-windows-gnu = None
CFLAGS_x86_64_pc_windows_gnu = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("true")
running: "make" "-f" "win32/Makefile.gcc" "install" "p
ibz-sys-e497dc2b35d3ad8c/out/include" "LIBRARY_PATH=/E
b35d3ad8c/out/bin"


command did not execute successfully, got: exit code:



--- stderr
"-z" kann syntaktisch an dieser Stelle nicht verarbeit
make: *** [win32/Makefile.gcc:128: install] Error 255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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