Skip to content

Invoking zig cc with wine errors #17535

@moosichu

Description

@moosichu

Zig Version

0.12.0-dev.890+8c6b0271c

Steps to Reproduce and Observed Behavior

Given a c file (eg. aaa.c):

extern int agsg(int a) { return a; }
extern int ssss(int a) { return a; }
extern int aaaa(int a) { return a; }

running:
zig.exe cc aaa.c

but specifically through wine, results in the following error:

error: unable to find zig self exe path: Unexpected

Expected Behavior

For zig to execute normally through wine.

Version of wine tested is 8.17 on Fedora.

Main use case is that I'm keen to test windows features on zig but no longer have access to windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavior

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions