Ticket #274: tt274+shared-solaris.patch
File tt274+shared-solaris.patch, 4.0 KB (added by rurban, 13 years ago) |
---|
-
config/init/hints/solaris.pm
old new 40 40 %gnuc = eval $conf->cc_run() or die "Can't run the test program: $!"; 41 41 if ( defined $gnuc{__GNUC__} ) { 42 42 $link = 'g++'; 43 } 44 else { 45 $link =~ s/\bcc\b/CC/; 43 unless ($conf->data->get('rpath')) { 44 $conf->data->set( 'rpath', '-Wl,-rpath=' ); 45 } 46 } else { 47 unless ($conf->data->get('rpath')) { 48 $conf->data->set( 'rpath', '-R' ); 49 } 46 50 } 47 51 $conf->data->set( link => $link ); 48 52 $conf->data->deltrigger( "cc", "solaris_link" ); … … 64 68 else { 65 69 $conf->data->set( cc_shared => '-KPIC' ); 66 70 } 71 $conf->data->set( 'has_dynamic_linking', '1' ); 72 $conf->data->set( 'parrot_is_shared', '1' ); 67 73 $conf->data->deltrigger( "gccversion", "solaris_cc_shared" ); 68 74 }; 69 75 $conf->data->settrigger( -
config/gen/makefiles/root.in
old new 874 874 $(LD) $(LD_SHARE_FLAGS) $(LDFLAGS) @ld_out@$@ @libparrot_soname@ \ 875 875 #IF(cygwin): -Wl,--out-implib=libparrot.dll.a \ 876 876 #IF(win32 and cc==gcc): -Wl,--out-implib=libparrot.lib \ 877 $(O_FILES) $(C_LIBS) $(ICU_SHARED) 877 $(O_FILES) $(C_LIBS) $(ICU_SHARED) $(LINKFLAGS) 878 878 #IF(win32): if exist $@.manifest mt.exe -nologo -manifest $@.manifest -outputresource:$@;2 879 879 #IF(libparrot_shared_alias): ( cd @blib_dir@ ; ln -sf @libparrot_shared@ @libparrot_shared_alias@ ) 880 880 -
PLATFORMS
old new 13 13 Platform B8 Runloops Feature Comp Test Inst YYYYMMDD 14 14 CGoto JIT EXEC Thr Sig 15 15 -------------------------------------------------------------------------------- 16 cygwin1.5.25-x86-gcc3.4.4 4 Y Y - - - Y Y /6*1 ? 2008051316 cygwin1.5.25-x86-gcc3.4.4 4 Y Y - - - Y Y Y 20090203 17 17 darwin8.11.1-x86-gcc4.0.1 ?? ? ? ? ? ? Y Y/1*3 ? 20081216 18 18 freebsd-x86-gcc-3.4.6 Y ? ? ? ? Y Y ? 20080519 19 19 linux-x86-gcc4.1.2 Y Y ? Y Y Y Y ? 20080617 … … 42 42 linux-x86_64-gcc4.1.2 8 Y - - Y Y Y Y ? 20080220 43 43 linux-x86_64-gcc4.3.2 8 Y - - Y Y Y Y ? 20081118 44 44 opensolaris-x86-gcc_4.0.3 4 Y Y ? ? ? Y Y/2 ? 20080325 45 opensolaris10-amd64-cc 8 Y - - Y - Y Y/24*2 ? 20090103 45 46 sol8-sparc-cc B - - - - - - Y/85 ? 20080818 46 47 sol8-sparc-gcc_4.1.0 B - - - - - - Y/87 ? 20080818 47 48 win32-x86-mingw_gcc4.3.0 Y Y - - - Y Y/88 ? 20081203 48 win32-x64-msvc_9.0 8 - N - - - Y Y/51 ? 20081203 49 win32-x86-msvc_6.0 4 - Y - - - Y Y/8 ? 20090103 50 win32-x64-msvc_9.0 8 - - - - - Y Y/51 ? 20081203 49 51 win32-x64-mingw_gcc3.4.5 8 Y Y ? ? ? Y Y ? 20081216 50 52 51 53 Legend: … … 74 76 YYYYMMDD The date tested. 75 77 76 78 Remarks: 77 *1 need PATH=$PATH:$PWD/blib/lib to locate DLL 78 *2 gcc and cc defaults to 32bits on solaris 79 *2 gcc and cc defaults to 32bits on solaris, for 64bit use 80 --ccflags='-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO' 81 --linkflags='-m64' 79 82 *3 http://rt.perl.org/rt3/Ticket/Display.html?id=60926 80 83 81 84 The following configurations are also working on x86/linux (and possibly