This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: getenv specs function, use for VxWorks


Ian Lance Taylor wrote:
> Mark Mitchell <mark@codesourcery.com> writes:
> 
>> In particular, this patch adds a new builtin spec function ("getenv")
>> which returns the value of an environment variable.  So, the specs can
>> get the destination patch.
> 
> Cool, I love builtin spec functions.  The only that that would be
> cooler would have been to use %v{...} to get the environment variable,
> since anything that makes the spec language more cryptic is aces in my
> book.  I guess a builtin function is OK, though.

I'm going to hope you're just teasing, and not actually totally irate. :-)

> But, you forgot to add the documentation in the "Spec Files" node in
> doc/invoke.texi.

Oh, I didn't know about that!  I will remedy forthwith.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]