Goto:

http://xcsoar.org/trac/wiki/Advanced/Development/Setup

(this page is a duplicate of the link above)