This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: gcc 3.0.1 does not work on Solaris 8/sparc
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: gcc 3.0.1 does not work on Solaris 8/sparc
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 10 Sep 2001 00:34:38 -0300
- Cc: Adrian Bunk <bunk at fs dot tum dot de>, Craig Rodrigues <rodrigc at mediaone dot net>, Hubert Feyrer <hubert dot feyrer at informatik dot fh-regensburg dot de>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, libstdc++ at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <271480000.999877066@warlock.codesourcery.com>
On Sep 7, 2001, Mark Mitchell <mark@codesourcery.com> wrote:
> Is there a reason against using the simple and portable
>> rm -f somelink
>> ln -s /usr/bin somelink
> Seems reasonable to me. V3 people, would you look into making this
> change so that the Makefiles are more portable?
Whoever does it, please don't fall prey of basename, which is not
portable; use `echo filename | sed 's,.*/,,'` instead. And beware the
brain-dead semantics of VPATH with Solaris' make: it will prepend a
VPATH directory to *any* *occurrences* *whatsoever* of a filename that
appears in the dependence list if the filename appears in one of the
VPATH directories, even if the occurrences is not related at all with
$?, $<, etc. This is even documented in the manual.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me