Okay, here's my patch.  This completely enables the sequent platform
(i386-sequent-sysv4).  Diffs are against libtool version:
> libtool --version
ltmain.sh (GNU libtool) 1.3.4 (1.385.2.196 1999/12/07 21:47:57)

Let me know what I can do to get these minor changes in.

diff  ./ltconfig.in ../l/libtool-1.3.4/./ltconfig.in
1469,1475c1469
<     if test $host_vendor = sequent; then
<       # Use CC to link under sequent, because it throws in some extra .o files
<       # that make .init and .fini sections work.
<       archive_cmds='$CC -G -Wl,-h $soname -o $lib $libobjs $deplibs $linkopts'
<     else
<       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
<     fi
---
>     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts'
2078,2081d2071
<     sequent)
<       file_magic_cmd=/bin/file
<       deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared 
object|dynamic lib )'
<       ;;

-Chris

On 18 May 2000, Alexandre Oliva wrote:

> On May 17, 2000, Chris Lattner <[EMAIL PROTECTED]> wrote:
> 
> > What should I do? 
> 
> You'd have to change archive_cmds in the appropriate place of
> ltconfig.  However, I'm not sure whether it's best to run `cc' instead
> of `ld' or to add the object files to archive_cmds explicitly.  In any
> case, this may have to be done as a special case for sequent-sysv4, as
> other sysv4s may not work exactly the same.
> 
> -- 
> Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
> Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
> Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
> oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me
> 

Reply via email to