From: Thomas Tanner Date: Fri, 9 Apr 1999 18:50:22 +0000 (+0000) Subject: * NEWS, README: Motorola System V 4 support X-Git-Tag: release-1-3~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa722f7f0a9b2df1355ff498ae947af9d9b892e8;p=thirdparty%2Flibtool.git * NEWS, README: Motorola System V 4 support * doc/PLATFORMS: added mk88-motorola-sysv4 * ltconfig.in: installed patch from Brian Ford to support mk88-motorola-sysv4 --- diff --git a/ChangeLog b/ChangeLog index 426890ac1..83f9630e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 1999-04-09 Thomas Tanner + * NEWS, README: Motorola System V 4 support + * doc/PLATFORMS: added mk88-motorola-sysv4 + * ltconfig.in: installed patch from Brian Ford + to support mk88-motorola-sysv4 + * doc/libtool.texi: some cleanups in the libltdl documentation 1999-04-07 Alexandre Oliva diff --git a/NEWS b/NEWS index 8744d445e..c17792175 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,7 @@ New in 1.3: 1999-04-??; CVS version 1.2g, Libtool team: * Libltdl has a new license: LGPL with a special exception * Libltdl can be used as stand-alone package * dlopen support for BeOS +* Partial support for Motorola System V 4 * Improved support for AIX, BeOS, Cygwin, DJGPP and HP/UX * Documentation updates * New tests diff --git a/README b/README index 975405a4d..89d41bf99 100644 --- a/README +++ b/README @@ -19,6 +19,7 @@ Shared library support has been implemented for these platforms: HP-UX 9.x, 10.x, 11.x (*-*-hpux9*, *-*-hpux10*, *-*-hpux11*) [see note] IRIX 5.x, 6.x (*-*-irix5*, *-*-irix6*) NCR MP-RAS 3.x (*-ncr-sysv4.3*) [see note] + Motorola System V 4 (mk88-motorola-sysv4) [see note] NetBSD 1.x (*-*-netbsd*) OpenBSD 2.x (*-*-openbsd*) OS/2 using EMX (*-*-os2*) @@ -39,6 +40,9 @@ NOTE: The vendor-distributed NCR MP-RAS cc programs emits copyright on standard error that confuse tests on size of conftest.err. The workaround is to specify CC when run configure with CC='cc -Hnocopyr'. +NOTE: Due to a bug in autoconf cc isn't supported on Motorola System V 4. +You can only use gcc. This bug will hopefully be fixed in autoconf 2.14. + NOTE: Any earlier DG/UX system with ELF executables, such as R3.10 or R4.10, is also likely to work, but hasn't been explicitly tested. diff --git a/doc/PLATFORMS b/doc/PLATFORMS index 8d10af02d..156d3757c 100644 --- a/doc/PLATFORMS +++ b/doc/PLATFORMS @@ -58,6 +58,8 @@ m68k-next-nextstep3 gcc 1.2f NS m68k-sun-sunos4.1.1 gcc 1.2f NS (gcc-2.5.7) m88k-dg-dguxR4.12TMU01 gcc 1.2 ok +m88k-motorola-sysv4 gcc 1.3 ok + (egcs-1.1.2) mips-sgi-irix6.5 gcc 1.2f ok (gcc-2.8.1) mips-sgi-irix6.4 gcc 1.2f ok diff --git a/ltconfig.in b/ltconfig.in index e79953600..5b0a1a4c7 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -693,7 +693,7 @@ else wl='-Qoption ld ' ;; - sysv4.2uw2* | sysv4.3* | sysv5*) + sysv4.2uw2* | sysv4.3* | sysv4 | sysv5*) pic_flag='-KPIC' link_static_flag='-Bstatic' wl='-Wl,' @@ -1343,6 +1343,13 @@ else export_dynamic_flag_spec='-Bexport' ;; + sysv4) + archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts' + runpath_var='LD_RUN_PATH' + hardcode_shlibpath_var=no + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts' hardcode_libdir_flag_spec='-L$libdir' @@ -1429,6 +1436,9 @@ irix*) solaris*) symcode='[BDT]' ;; +sysv4*) + symcode='[DFNSTU]' + ;; esac # If we're using GNU nm, then use its standard symbol codes. @@ -1882,7 +1892,7 @@ sunos4*) need_version=yes ;; -sysv4.2uw2* | sysv4.3* | sysv5*) +sysv4.2uw2* | sysv4.3* | sysv4 | sysv5*) version_type=linux library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' soname_spec='${libname}${release}.so$major' @@ -1891,6 +1901,15 @@ sysv4.2uw2* | sysv4.3* | sysv5*) ncr) deplibs_check_method='pass_all' ;; + motorola) + need_lib_prefix=no + need_version=no + shlibpath_overrides_runpath=no + sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' + deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' + file_magic_cmd=/usr/bin/file + file_magic_test_file=`echo /usr/lib/libc.so*` + ;; esac ;;