[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: solaris archive_cmds change for sun CC c++ compiler
From: |
Albert Chin |
Subject: |
Re: solaris archive_cmds change for sun CC c++ compiler |
Date: |
Thu, 21 Jul 2005 08:23:04 -0500 |
User-agent: |
Mutt/1.5.6i |
On Tue, Jul 19, 2005 at 01:32:07PM +0900, Peter O'Gorman wrote:
> On all versions of sun's compiler that I looked at, using c++ features
> (e.g. cout!) requires adding -lCstd -lCrun and -lc to the link line. This
> means that any library linking with -no-undefined fails to link properly
> with this compiler. I have added these libraries to the archive_cmds. While
> I was looking there, I saw an output_verbose_link_cmd that removes all the
> objects from the list, thus making it useless, so I removed the -nolib and
> set the output_verbose_link_cmd to 'echo'.
>
> Okay for all branches? (having been suitably changed for 2.0/HEAD, of
> course).
For -lc, why don't you set archive_cmds_need_lc=yes for the CXX tag
instead of hard-coding it?
And, why don't you set postdeps='-lCstd -lCrun'?
--
albert chin (address@hidden)
- solaris archive_cmds change for sun CC c++ compiler, Peter O'Gorman, 2005/07/19
- Re: solaris archive_cmds change for sun CC c++ compiler,
Albert Chin <=
- Re: solaris archive_cmds change for sun CC c++ compiler, Peter O'Gorman, 2005/07/21
- Re: solaris archive_cmds change for sun CC c++ compiler, Peter O'Gorman, 2005/07/21
- Re: solaris archive_cmds change for sun CC c++ compiler, Peter O'Gorman, 2005/07/21
- Re: solaris archive_cmds change for sun CC c++ compiler, Albert Chin, 2005/07/21
- Re: solaris archive_cmds change for sun CC c++ compiler, Albert Chin, 2005/07/22
- Re: solaris archive_cmds change for sun CC c++ compiler, Peter O'Gorman, 2005/07/22
- Re: solaris archive_cmds change for sun CC c++ compiler, Albert Chin, 2005/07/22
- Re: solaris archive_cmds change for sun CC c++ compiler, Peter O'Gorman, 2005/07/24