Opened 17 years ago

Last modified 17 years ago

#354 closed enhancement

Building the libraries as dynamic libraries (.DSO) in Symbian — at Initial Version

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-0.8.0
Component: common Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Symbian 9 build system with its ABIv2 no longer supports linking with static libraries. Some major works need to be done to support building PJ libraries as dynamic libraries

PJDLL and PJ_EXPORTING macros

PJ_DLL and PJ_EXPORTING macros are introduced to control the import/export behavior. The declaration of these macros causes the relevant PJ_DECL and PJ_DEF syntax to be generated.

When the libraries are being built, both PJ_DLL and PJ_EXPORTING macros are set (by the libraries' project files), causing the build process to export the symbols. When application wants to link against PJ dynamic libraries, it should declare PJ_DLL macro only, to signal that application wants to import the symbols from PJ libraries.

When PJ_DLL macro is not set, static linking is assumed.

DEF file generation

Change History (0)

Note: See TracTickets for help on using tickets.