New parameter in GCC

Dodji Seketeli dodji@seketeli.org
Wed Aug 3 13:00:00 GMT 2011


Harry Trinta <harrytpc@gmail.com> a écrit:

> I don't need to declare a variable to store the value which will be
> passed in the compilation?

No you don't.

> for example, I created a new compilation command:
> fip-host =
> Joined RejectNegative Common Var (host_ip_adress)
> Set the host ip adresses that the gcov uses to send informations about
> coverage
>
> I do not need to declare the variable host_ip_adress somewhere?

A macro named host_ip_address get defined for you by the options
management machinery.

See the bullet about Var in the "GCC Internals" documentation:
http://gcc.gnu.org/onlinedocs/gccint/Option-properties.html#Option-properties

-- 
		Dodji



More information about the Gcc-help mailing list