Ticket #274 (closed todo: fixed)
Enable shared on solaris
Reported by: | rurban | Owned by: | rurban |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | new | Platform: | solaris |
Description (last modified by rurban) (diff)
Several minor tweaks were needed to build libparrot.so on opensolaris 10.
-R / -Wl,-rpath= was missing
ld=CC is invalid for -G, cc must be used instead
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.