Hi, having to use GNU Global on windows on my work computer and I noticed that GTAGSOBJDIRPREFIX does not work for windows. I examined the code and noticed the creation of the folders in GTAGSOBJDIRPREFIX is just skipped by an #ifdef if global is compiled for windows. Thinking about this it is quite obvious why. Windows paths are awful to concatenate and you cannot do something simple. If you have something like C:\some\path as the GTAGSOBJDIRPREFIX and want to create GTAGS for C:/my/project, you would end up with C:\\some\\path/C:/my/project/ as objdir. Well but you can solve this by getting rid of the second : and just have C:\\some\\path/C/my/project/. (yes, apparently windows can work with that \\ / mess) Getting rid of the whole drive letter isn't a good idea I think, because you could have 2 projects in C:/my/project and D:/my/project and this could end up messy. I patched this functionality in. It also normalizes the windows paths to use only /. The patch is attached. Let me know if you want me to change anything for it. If you want to merge it into core, I will sign that copyright letter and send it to you. Best regards
windows_objdirprefix.patch
Description: Binary data
