<div dir="ltr">Hi Maria,<div><br></div><div>Thank you very much for your sincere reply. I really appreciate your recommendations.</div><div><br></div><div>I will try on Linux first to have the first understanding about RIP (then BIRD). But honestly, I really want to challenge myself on Windows. Of course, I will let you guys know if I run RIP successfully on Windows :)</div><div><br></div><div>Best regards,</div><div>SoanĀ <br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 21, 2018 at 7:44 PM, Jan Maria Matejka <span dir="ltr"><<a href="mailto:jan.matejka@nic.cz" target="_blank">jan.matejka@nic.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
Disclaimer: There is no sarcasm in this mail. It may look like sarcasm<br>
but I'm absolutely serious.<br>
<span class=""><br>
> I would like to get more understanding about one simple routing protocol<br>
> (e.g. RIP) in BIRD by debugging the code step-by-step. However, I have<br>
> got stuck at configuring the first step to run the code in Visual Studio<br>
> C++. <br>
<br>
</span>The code is C, not C++. It is probably not buildable as C++. Moreover,<br>
BIRD currently supports Linux and several flavors of BSDs. We don't<br>
support running on Windows natively and it seems to be quite a lot of<br>
work to write all the needed bindings even for RIP to run. Anyway, it<br>
would be too simple to tell you that you never want to do that. It is<br>
definitely possible, yet quite difficult.<br>
<span class=""><br>
> Could you guys please point me out how could I configure things in C++<br>
> to starting debugging. Any help you have to offer would be greatly<br>
> appreciated.<br>
<br>
</span>My recommendations are as follows:<br>
1. Setup a Linux C development environment.<br>
2. Trace RIP on Linux.<br>
<br>
Then you are done with what you wanted (to learn how RIP is written).<br>
<br>
You didn't want this? Then skip step 2 and continue this way:<br>
3. Dig deeply into BIRD sysdep/ folder and research what are the needed<br>
APIs on Windows to bind to. You may need to trace the low-level parts of<br>
BIRD and read a lot of documentation to check that your understanding of<br>
the code is correct.<br>
4. Fix the build errors in Visual Studio in a portable way.<br>
5. Write Windows bindings in sysdep/.<br>
6. Send your patches to the mailing list.<br>
7. Debug RIP on Windows.<br>
<br>
I'm not kidding. I'm definitely not kidding. I'm absolutely serious.<br>
If I wanted to trace RIP in Visual Studio, I would do it this way.<br>
Yes, I know, it is a painful way, yet still the least painful way.<br>
<br>
I believe that you can do it. I'm looking forward to your patches!<br>
<span class="HOEnZb"><font color="#888888"><br>
Maria<br>
</font></span></blockquote></div><br>
</div></div></div>