Re: New parameter in GCC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux