Hi
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.
Thanks, Raj
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.
If you often need different compile flags, you could modify the run command to, say, read compiler options off of comments at the top of the file.
On Thu, Jun 24, 2010 at 04:45, Rajanikanth Jammalamadaka rajanikanth@gmail.com wrote:
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.
Thanks Allan and Thanks very much for writing such a nice software :-) Raj
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate