Skip to content

cjit version Temp dir is a file/missing stdio.h on MacOS #109

@fhunleth

Description

@fhunleth

I'm trying out the cjit v0.18.2 release for MacOS/ARM64. The donut.c example worked perfectly. I'm getting a couple errors when running life.c:

$ cjit life.c
cjit version Temp dir is a file, cannot overwrite: %s (c) 2024-2025 Dyne.org foundation
life.c:1: warning: Ignoring unknown preprocessing directive #!
life.c:2: error: include file 'stdio.h' not found
cjit_exec: TCC linker error
Library functions missing.

I'm on MacOS Sequouia 15.4.

Building cjit from source runs life.c just fine, so I wonder if something changed on CI to break the pre-built versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions