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 afterexec
Given that the man page for
clearenv
suggests usingenviron=NULL
ifclearenv
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 useclearenv
. --Joey done