2010-03-18 08:21:09 +01:00
|
|
|
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.
|
|
|
|
|
2010-03-18 08:56:15 +01:00
|
|
|
versions: Debian lenny + backports
|
2010-03-18 08:21:09 +01:00
|
|
|
|
2010-03-18 22:44:46 +01:00
|
|
|
> 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]]
|