Ticket #274 (new todo) — at Initial Version

Opened 13 years ago

Last modified 13 years ago

Enable shared on solaris

Reported by: rurban Owned by:
Priority: normal Milestone:
Component: none Version:
Severity: medium Keywords:
Cc: Language:
Patch status: Platform: solaris

Description

Several minor tweaks were needed to build libparrot.so on opensolaris 10.

-R / -Wl,-rpath= was missing

for 64bit use --ccflags='-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO' --linkflags='-m64'

LINKFLAGS was missing from libparrot.so. See TT #262 for the other missing linkflags

has_dynamic_linking and parrot_is_shared can be enabled as default

Patch tested with Sun Pro cc 64-bit, gcc 32-bit, and cross-tested on various other platforms.

Note: See TracTickets for help on using tickets.