On Wed, 2011-08-03 at 00:09 -0300, Harry Trinta wrote: > Sorry, Ian, but I didn't understand your example. > > Look what I need: > > I'm developing a feature that sends gcov information coverage to a > remote host, via sockets. It sounds like you are modifying gcov itself. How about using an environment variable? You'd do something like GCOV_REMOTE_IP=10.0.0.1 gcc -o foo foo.c Then gcov can pick that environment variable up from envp[]. No need to bother GCC with the variable.