ikiwiki/doc/bugs/post-update_hook_can__39__t...

20 lines
863 B
Markdown

Thinking that any c compiler would do the job, I tried to use tcc with ikiwiki, as explicitely allowed by the Debian package dependencies.
I installed `tcc` and `libc6-dev` (for `libcrt1`). The wrapper compilation was OK, but the wrapper fails to run correctly and dies with
usage: ikiwiki [options] source dest
ikiwiki --setup configfile
Everything works fine with gcc.
versions: Debian lenny + backports
> Seems that tcc does not respect changing where `environ` points as a way
> to change the environment seen after `exec`
>
> Given that the man page for `clearenv` suggests using `environ=NULL`
> if `clearenv` is not available, I would be lerry or using tcc to compile
> stuff, since that could easily lead to a security compromise of code that
> expects that to work. However, I have fixed ikiwiki to use `clearenv`.
> --[[Joey]] [[done]]