Christoffer Lerno

Results 1219 comments of Christoffer Lerno

Well, the compiler works, it's just that for linking it tries to use the native compiler in order to get the correct linking with libc. The usual situation is to...

Ok, replacing cc with gcc seems like a horribly bad. So please try to find some other solution. In regards to this failing test I am somewhat confused. What do...

I assume you already tested changing ``` (setenv "CC" "gcc") ``` to ``` (setenv "cc" "gcc") ```

Eh, c3c calls something like `system("cc foo.c");` which uses the `sh` shell. So whatever is broken here it's on the OS side. You could try this yourself, create a simple...

Wait. You're just setting an environmental variable CC to "gcc", that's never going to work. c3c is assuming the environment has at least aliased gcc to cc. Surely that isn't...

And can you explain why adding `--cc gcc` at the command line wasn't a good idea? I never understood that part.

What Linux distros are violating the convention to have 'cc' available?

If you are using a custom linker you MUST provide `--linux-crt` and `--linux-crtbegin` flags, or the compiler will not be able to determine where the runtime is. It will try...