.GOX File Extension
Go Export Data
Developer | |
Popularity |
3.0 | 2 Votes |
What is a GOX file?
A GOX file is an export data file created by gccgo, a compiler for the Go programming language. It contains a description of functions exported from a compiled .O file. Developers produce GOX files using the objcopy -j .go_export command.
More Information
Gccgo is part of the GNU Compiler Collection (GCC). Developers use gccgo to compile and build Go programs.
When a developer uses gccgo to compile a file that exports functions, they can choose to store a description of those exported functions in a GOX file. This file functions similarly to a C or C++ .H file. When a developer uses gccgo to compile a file that imports the exported functions, gccgo searches for an accompanying GOX file (or SO, A, or O file, if a GOX file isn't found) and uses it to import the functions correctly.
How to open a GOX file
GOX files are not meant to be opened. You can use GOX files to import functions while compiling programs with gccgo (multiplatform).