Harry Trinta <harrytpc@xxxxxxxxx> writes: > I'm developing a feature that sends gcov information coverage to a > remote host, via sockets. > So I would like the user to pass the host IP address via parameter > during compilation. Something like: > > gcc file.c -ftest-coverage -fprofile-arcs -ipHost=127.0.0.1 > > where -ftest-coverage -fprofile-arcs are required in the use of gcov. > And -ipHost is my new parameter. You want a new command line option for gcc? Make it start with -f, and add it to gcc/common.opt. Ian