understanding large projects

Started by
6 comments, last by Storyyeller 12 years, 10 months ago
How do you go about understanding a large project? The problem is that everything just comes as a tar of source files and I have no idea where I should even start. It's very intimidating.
I trust exceptions about as far as I can throw them.
Advertisement

How do you go about understanding a large project? The problem is that everything just comes as a tar of source files and I have no idea where I should even start. It's very intimidating.


Start with the documentation, If there is no documentation ask whoever wrote the code in the first place.

Alternativly you can just look through the files for the entry point. (using a tool like grep to quickly find the main function is fairly straightforward) (Documentation still helps alot though)
[size="1"]I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!
The problem is that I am on Windows and I'm used to using IDEs, not commandline tools.
I trust exceptions about as far as I can throw them.
There appear to be 67 different main functions.

Also, is there any easy way to apply patch files on Windows?
I trust exceptions about as far as I can throw them.

There appear to be 67 different main functions.

Also, is there any easy way to apply patch files on Windows?


What project are you looking at ?

http://gnuwin32.sourceforge.net/packages/patch.htm
[size="1"]I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!

[quote name='Storyyeller' timestamp='1307585451' post='4821173']
There appear to be 67 different main functions.

Also, is there any easy way to apply patch files on Windows?


What project are you looking at ?

http://gnuwin32.sour...kages/patch.htm
[/quote]

Xen 3.1.0
I trust exceptions about as far as I can throw them.
Xen is probably one of the hardest project you can find around. You better know the subject quite well before digging into this code :)

[quote name='SimonForsman' timestamp='1307586098' post='4821176']
[quote name='Storyyeller' timestamp='1307585451' post='4821173']
There appear to be 67 different main functions.

Also, is there any easy way to apply patch files on Windows?


What project are you looking at ?

http://gnuwin32.sour...kages/patch.htm
[/quote]

Xen 3.1.0
[/quote]

Ah, thats a complex beast :)
Its not a single application but rather a collection of applications, drivers and tools, it also contains platform specific assembly code.

Check the docs folder, it contains a whole bunch of useful files (alot of it is TeX or eps files so you need a dvi/postscript viewer)
[size="1"]I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!
I can't figure out how to get the GnuWin32 patch to work. I downloaded the binary package, but whenever I run patch, it just opens a new empty window and does not appear to do anything else.For some reason, it also causes a security prompt each time it's run.

Edit: Nevermind, I managed to do it with TortoiseSVN instead.
I trust exceptions about as far as I can throw them.

This topic is closed to new replies.

Advertisement