METHOD AND DEVICE OF OPERATING FUNCTIONAL MODULE CROSS PLATFORMS
A method of operating a functional module across platforms is proposed, the method includes: obtaining a source code of the functional module, the source code of the functional module being a standard C code; compiling the source code to generate a plurality of intermediate files; link processing th...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method of operating a functional module across platforms is proposed, the method includes: obtaining a source code of the functional module, the source code of the functional module being a standard C code; compiling the source code to generate a plurality of intermediate files; link processing the plurality of intermediate files to generate an object file; loading the object file; and allocating a memory space for a bytecode in the object file and dividing the bytecode into a code segment and a data segment running in the memory space. The method implements isolation between the functional module and the platform during the whole process, which can implement of operating a functional module cross platforms without any modification of the functional module, so that the operation is simple. Further, a device of operating a functional module across platforms is also proposed. |
---|