Gauge theory on G2–manifolds