On Fri, 4 Feb 2011, Graham Anderson wrote:
On Friday 04 February 2011 13:48:51 Philipp Thomas wrote:
* Graham Anderson (graham.anderson@gmail.com) [20110204 13:42]:
1) Add a "go-devel" to the .spec and bundle the standard library sources &
the goinstall tool in this sub package.
It's a bit unusual, but I'd go that way. BTW, does it need the complete sources or only part of it?
Philipp
The source treee is:
src/cmd/* src/lib* src/pkg/*
Only src/pkg is required for the goinstall utility to function correctly in it's current form. When I think devel packages I think headers but Go doesn't have the concept of headers with it's import system. So yeah it's slightly unusual but I'm hard pressed to think of another way to have the sources available for the goinstall tool.
Please make sure the above is in go specific directories (thus not
/usr/src but /usr/share/go/ and /usr/lib{,64,32}/go). If I at some
point get the time to enable the Go frontend in GCC then we'll get
two differing (and incompatible) set of runtimes.
Richard.
--
Richard Guenther