Re: rssync source code as a windows project
Jignesh Shah wrote: Hi Friends, I have started learning rsync source code but I am finding very difficult to go back and forth to find the execution flow. I could see that rsync code is written in UNIX and the compilation is difficult. Does anybody converted it into Windows Project so that we can open in using Visual Studio IDE and it will be very simple to search for some function and find the complete work flow. Thanks, Jignesh RTFM ctags and cscope, or just create a project and put the sources into it (not that I think the later will do you much good). rant Personally, I find VS's cross reference to have deteriorated considerably over the versions. VS6 had a cross reference that was tied to the compiler's symbol tables. This worked excellent, as no amount of preprocessor trickery would fool it. I much preferred it to ctags. Somewhere between version 6 and version 9, MS switched to Intellisense for cross referencing. My guess is that the VS6 version wouldn't cross reference a project unless it could compile it, and people (or at least MS's sales people) complained. As a result, the cross reference is much less accurate and error prone, and I no longer see any advantage for it over ctags and other tools available for Linux and Posix platforms. /rant Shachar -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rssync source code as a windows project
Jignesh Shah wrote: Thanks for reply. Could you tell what do you mean by RTFM ctags and cscope,?? RTFM - Read The Manual ctags and cscope - utilities whose manual I think you should read. Creating a new project I think it will have so many errors. We can do it only if we know the complete code. If anybody or you have done then please forward it to me. rsync is a POSIX application. It will not compile natively on Windows without a considerable porting effort. No such port exists. If you only want VC to trace the function flow, it should be able to do that without compiling the code (see my rant above). If you want the code to compile on VC, I suggest you do the porting. Shachar -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rssync source code as a windows project
Thanks Sachar. but I am completely new in UNIX world. Could you tell me how ctags and cscope will help me and from where I can read those manuals? BTW, If I could not compile then its fine. I just want to migrate to specific function quickly and when i move my cursor on variable it should display what is this variable and where it defined.(For example I could see so many constans like ARENA_SIZE). If simply I should create project and add everything as project(folder) wise, do you think it will work? Thanks a lot, Jignesh On Thu, Dec 4, 2008 at 1:44 PM, Shachar Shemesh [EMAIL PROTECTED] wrote: Jignesh Shah wrote: Thanks for reply. Could you tell what do you mean by RTFM ctags and cscope,?? RTFM - Read The Manual ctags and cscope - utilities whose manual I think you should read. Creating a new project I think it will have so many errors. We can do it only if we know the complete code. If anybody or you have done then please forward it to me. rsync is a POSIX application. It will not compile natively on Windows without a considerable porting effort. No such port exists. If you only want VC to trace the function flow, it should be able to do that without compiling the code (see my rant above). If you want the code to compile on VC, I suggest you do the porting. Shachar -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: rssync source code as a windows project
Thanks for reply. Could you tell what do you mean by RTFM ctags and cscope,?? Creating a new project I think it will have so many errors. We can do it only if we know the complete code. If anybody or you have done then please forward it to me. Thanks, Jignesh On Thu, Dec 4, 2008 at 1:12 PM, Shachar Shemesh [EMAIL PROTECTED] wrote: Jignesh Shah wrote: Hi Friends, I have started learning rsync source code but I am finding very difficult to go back and forth to find the execution flow. I could see that rsync code is written in UNIX and the compilation is difficult. Does anybody converted it into Windows Project so that we can open in using Visual Studio IDE and it will be very simple to search for some function and find the complete work flow. Thanks, Jignesh RTFM ctags and cscope, or just create a project and put the sources into it (not that I think the later will do you much good). rant Personally, I find VS's cross reference to have deteriorated considerably over the versions. VS6 had a cross reference that was tied to the compiler's symbol tables. This worked excellent, as no amount of preprocessor trickery would fool it. I much preferred it to ctags. Somewhere between version 6 and version 9, MS switched to Intellisense for cross referencing. My guess is that the VS6 version wouldn't cross reference a project unless it could compile it, and people (or at least MS's sales people) complained. As a result, the cross reference is much less accurate and error prone, and I no longer see any advantage for it over ctags and other tools available for Linux and Posix platforms. /rant Shachar -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html