Sign in to follow this  
Storyyeller

understanding large projects

Recommended Posts

Storyyeller    215
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.

Share this post


Link to post
Share on other sites
SimonForsman    7642
[quote name='Storyyeller' timestamp='1307584490' post='4821167']
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.
[/quote]

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)

Share this post


Link to post
Share on other sites
SimonForsman    7642
[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?
[/quote]

What project are you looking at ?

http://gnuwin32.sourceforge.net/packages/patch.htm

Share this post


Link to post
Share on other sites
Storyyeller    215
[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?
[/quote]

What project are you looking at ?

[url="http://gnuwin32.sourceforge.net/packages/patch.htm"]http://gnuwin32.sour...kages/patch.htm[/url]
[/quote]

Xen 3.1.0

Share this post


Link to post
Share on other sites
Dunge    405
Xen is probably one of the hardest project you can find around. You better know the subject quite well before digging into this code :)

Share this post


Link to post
Share on other sites
SimonForsman    7642
[quote name='Storyyeller' timestamp='1307586158' post='4821177']
[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?
[/quote]

What project are you looking at ?

[url="http://gnuwin32.sourceforge.net/packages/patch.htm"]http://gnuwin32.sour...kages/patch.htm[/url]
[/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)

Share this post


Link to post
Share on other sites
Storyyeller    215
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this