[Top][All Lists]

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

Re: Roberts patch and UnixWare 7.1.1 still does not use $CC

From: Gary V . Vaughan
Subject: Re: Roberts patch and UnixWare 7.1.1 still does not use $CC
Date: Mon, 30 Jul 2001 01:54:04 +0100

On Sunday 29 July 2001 6:33 pm, Boyd Lynn Gerber wrote:
> On Sun, 29 Jul 2001, Gary V. Vaughan wrote:
> > I don't really understand your bug report... are you saying that when
> > compiling with g++ and the native C++ compiler when $host is `unixware7*'
> > or 'sysv5uw7*' you need the generated libtool to have `LD='$CC'` and
> > `archive_cmds_need_lc=no'?
> The latest config.sub and config.guess nolonger has sysv5uw7 it give
> sysv5UnixWare7.X.X.  Here is the string from my system.
> i686-unknown-sysv5UnixWare7.1.1  This is because Caldera now owns OSR and
> UnixWare and they have released a new product OpenUnix and its strings
> i?86-unknown-sysv5OpenUNIX8.0.0
> This is independent of the compiler being used.

Well that is a nice easy patch for me to get into libtool right away then... 
infact, it may be that this is the cause of your picking up default values 
rather than UW specific values, since libtool is still using the old host 

> I have attached what I get from ./configure >> config.list 2>> config.list
> above.


> What I am trying to say is it is not enough to have libtool make the
> libraries with $CC being the program used to created the .o file.  The
> executable programs need to be made using the same program that created
> them with out the -lc  LD=/usr/ccs/bin/ld or /usr/local/bin/ld is not
> smart enough right now to get the library order correct.  GCC and Native
> Compilers both get it right.  But if you use them and add the -lc option a
> warning is giving not to use -lc and the file may not work as you expect.
> Removing the -lc and using the appropriate program solves the problem.
> Does that make it clear?

Yup.  I had thought it must have been a g++ism for some reason.

  ())_. Gary V. Vaughan     gary@(|
  ( '/  Research Scientist       ,_())____
  / )=  GNU Hacker  \'      `&
`(_~)_  Tech' Author   =`---d__/

reply via email to

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