×
Namespaces

Variants
Actions
Revision as of 08:25, 20 July 2012 by hamishwillee (Talk | contribs)

DSO

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: vasant21 (11 Oct 2008)
Last edited: hamishwillee (20 Jul 2012)

Contents

Introduction

In the ABIv2 toolchain, .lib files are replaced by .dso files (Dynamic Shared Object). These files are used in similar situations to .lib files. However, the format of these two files is completely different.

A .lib file is an archive file created from stubs generated for each of the exported symbols.

A .dso file is an ELF object similar to other objects created with the compiler. It has all the associated sections required for an ELF object, such as the symbol table, string table, etc. The .dso file also has the information required for the linker to link to the correct ordinals to the DLL.

In previous tool chain ARM ABIv1, .LIB files were generated from the .def files using def2dll. In the new ARM ABIv2 tool chain the library DSOs hold the information required for the linker to link to the correct ordinals to the dll.

One can use elf2e32 for generating the corresponding .dso file

Note:

.lib files cannot be used by the ABIv2 toolchain, and .dso files cannot be used by the ABIv1 toolchain.

Location

.DSO files are located in the Epoc32\release\$(PLATFORM)\lib

More Reading

68 page views in the last 30 days.
×