[Geany] Generating custom tags file in Windows
Chris Sutcliffe
ir0nh34d at xxxxx
Tue May 24 18:38:38 UTC 2011
On 24 May 2011 13:17, Matthew Brush wrote:
> On 05/24/11 09:15, Chris Sutcliffe wrote:
>>
>> Looking at the geany documentation, as I understand it, I should be
>> able to generate a custom tags file with:
>>
>> geany -g mingw.c.tags c:\mingw\include
>>
>> As long as MinGW gcc is in my path (which it is) and grep is available
>> (which it is). Yet when I run this command, I have a command box
>> briefly pop-up and no tags file is generated. Am I missing something?
>
> I've never tried on Windows, but I've used many times on Linux and always
> specified a files list (or glob actually). From the manual:
>
> geany -g [-P] <Tag File> <File list>
>
> "File list is a list of filenames, each with a full path (unless you are
> generating C/C++ tags and have set the CFLAGS environment variable
> appropriately)."
>
> Probably try this:
>
> geany -g mingw.c.tags c:\mingw\include\*.h
Turns out I'm able to generate the tags file with:
geany -g -P mingw.c.tags c:\mingw\include\*
Without the '-P' I get nothing. Looking at the documentation:
"-P or --no-preprocessing disables using the C pre-processor to
process #include directives for C/C++ source files. Use this option if
you want to specify each source file on the command-line instead of
using a 'master' header file. Also can be useful if you don't want to
specify the CFLAGS environment variable."
I have mingw's gcc in my path though. What does geany call as the C
pre-processor?
Thank you,
Chris
--
Chris Sutcliffe
http://emergedesktop.org
http://www.google.com/profiles/ir0nh34d
More information about the Users
mailing list