Hello fellow gophers,
I've been trying to build a library by hand (without go tool, I can't use it in my environment).
For gccgo to find exports, I compile all the .go files to .o, extract exports to .gox files, and package all the .gox to libsomething.a, which then resides in import directory.
The problem is that when I try importing the package, I get an error that states a redeclaration of the package once for every .gox file in the archive (maybe minus one, I didn't count precisely, just tried packing less .gox files to verify).
If this is a bug, how do I report it to GCCGO authors?
If it's not a bug, what is the proper way to generate exports from object files?