[TxMt] Re: Customize Apple + R command for C99 mode

Allan Odgaard mailinglist at textmate.org
Thu Jun 24 08:11:42 UTC 2010


On 24 Jun 2010, at 10:03, Rajanikanth Jammalamadaka wrote:

> Could somebody tell me how to customize the Apple + R command.
>
> I want to be able to compile some files which are in the C99 mode.
>
> From command line, I can do gcc -std=gnu99 in order to compile these  
> files.

You can set TM_C_FLAGS under Preferences → Advanced → Shell  
Variables.

The default value uses the ‘-include’ option to include the most  
common headers (e.g. stdio.h), you may want to keep that.




More information about the textmate mailing list