I need some help getting my mind around what should be a simple issue: how to connect Go with Plan 9's "native" toolchain.
To be more specific, I have a port of the OpenLDAP library for Plan 9 that works quite adequately and I would like to access it from GO. I guess this is true of any similar library ported using APE. It seems to me that because Go can connect to native C libraries and because in Plan 9 the calling conventions are in fact identical, there ought to be an easy way to do it, but I don't realy understand what's involved. I suspect that the Go builder would have to be enhanced to deal with this, while at the same time I wonder if the C compiler and assembler should be used in a Go APE-like environment. Whatever, I need help thinking this through, can anyone assist? ++L PS: I'd like the answer to be portable outside of Plan 9 (in p9p, to be exact), but that isn't essential.