Wednesday, December 19, 2007

cscope on windows

"cscope -bqR" failed on Windows, it does not prompt any message but when I do a search for a function with cscope, it always doesn't give me a happy message. Because my project is mainly a c++ project!!! It is confusion on Windows "-R" recusive just find c not cpp files.

I need a extra script to generate "cscope.files", then generate cscope database.

find . -name "*.cpp" -o -name "*.[ch]" > cscope.files
cscope -b -q

On linux, there is no such problems.

And I also install "" from here, it provides basic gnu tools for win32.