.GOX 文件扩展名
Go Export Data
| 开发者 | |
| 受欢迎程度 |
3.0 | 2 票 |
什么是 GOX 文件?
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.
更多信息
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.
如何打开 GOX 文件
GOX files are not meant to be opened. You can use GOX files to import functions while compiling programs with gccgo (multiplatform).