Remix.run Logo
Retr0id 3 hours ago

Looks like these users are just missing glibc-devel or equivalent?

delusional 3 hours ago | parent | next [-]

Naa, it looks like it's failing to include the standard system include directories. If you take then from gcc and pass them as -I, it'll compile.

Retr0id 3 hours ago | parent | next [-]

Can confirm (on aarch64 host)

    $ ./target/release/ccc-arm -I /usr/include/ -I /usr/local/include/ -I /usr/lib/gcc/aarch64-redhat-linux/15/include/ -o hello hello.c 

    $ ./hello
    Hello from CCC!
u8080 3 hours ago | parent [-]

Seems this non-artificial intelligence model just too limited to understand concept of include path.

dyauspitr 2 hours ago | parent [-]

It’s machine specific

zamadatix 3 hours ago | parent | prev [-]

Hmm, I didn't have to do that. https://i.imgur.com/OAEtgvr.png

But yeah, either way it just needs to know where to find the stdlib.

Retr0id 3 hours ago | parent [-]

Probably depends on where your distro puts stuff by default, I think it has a few of the common include paths hardcoded.

zamadatix 3 hours ago | parent [-]

Makes sense for the behavior.

3 hours ago | parent | prev [-]
[deleted]