Invention Grant
US09575780B2 Method and apparatus for generating executable file or multi-instance service 有权
用于生成可执行文件或多实例服务的方法和装置

Method and apparatus for generating executable file or multi-instance service
Abstract:
The present invention relates to a method and an apparatus for generating an executable file of a multi-instance service. The method includes: performing compilation for a source file corresponding to a multi-instance service, to obtain a first-class object file, where the multi-instance service includes N instances, and N is a natural number greater than or equal to 2; performing an object copy of the first-class object file N−1 times, to obtain N−1 new first-class object files; and performing linking to the first-class object file and the N−1 new first-class object files, to generate an executable file. In the present invention, an executable file is generated by performing mirroring and linking processing for an object file obtained by compilation, thereby reducing a development cost and a maintenance cost of software source code.
Information query
Patent Agency Ranking
0/0