libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SCO 5 shared libraries and -lc


From: Gary V . Vaughan
Subject: Re: SCO 5 shared libraries and -lc
Date: Tue, 17 Apr 2001 02:34:02 +0100

On Monday 16 April 2001 11:31 pm, Boyd Lynn Gerber wrote:
> On 17 Apr 2001, Kevin Ryde wrote:
> > cc and gcc on sco know not to add -lc, so the test there looks like it
> > would probably be right, except that archive_cmds is setup to use $LD,
> > so it doesn't come into play.
> >
> > Maybe archive_cmds should switch to using $CC, though I wouldn't know
> > if that might upset anything else.

It is certainly worth a try.  Change it in your local copy and see if libtool 
fails any additional tests.  Provided the archive_cmds setting is confined to 
a $host switch, it won't break any other supported architectures.

> I definetly think on both UnixWare and OpenServer, it should be $CC.  I
> had major problems with pike and roxen (Web Server) because $LD.  The fixe
> was to change from $LD to $CC with the right switches for gcc and
> cc/CC/c++.
>
> > I don't know if it counts as a bug, though rumour has it there's a
> > patch for unixware to address it.  Certainly something strange is
> > going on, it doesn't look like a basic ld.so/ELF setup, libc.so is an
> > ar archive for a start.  Cc to a sco expert for further remarks.
>
> I think it is.  I know I have fought many many hours only to find that had
> I linked with $CC the problem was fixed.

Thanks for the comments.  I'm happy to change SCO archive_cmds if you find 
that it works correctly.  I am worried that you might trigger some of the 
problems that instigated the multi-language-branch, if you find that changing 
to $CC explicitly is a problem for you, then you could try an mlb snapshot, 
and we'll aim to fix SCO for libtool-1.5?

Cheers,
        Gary.
-- 
  ___              _   ___   __              _         mailto: address@hidden
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       address@hidden
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]