This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC 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: Adrian Bunk <bunk at fs dot tum dot de>
- Date: Fri, 7 Sep 2001 13:16:43 +0200 (CEST)
- cc: 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>, "aoliva at redhat dot com" <aoliva at redhat dot com>
On Thu, 6 Sep 2001, Mark Mitchell wrote:
> > For the one in /usr/ucb, the order of the flags becomes important.
> >
> > /usr/bin/ln -s -f /usr/bin somelink (works)
> > /usr/bin/ln -f -s /usr/bin somelink (works)
> > /usr/ucb/ln -s -f /usr/bin somelink (does not work)
> > /usr/ucb/ln -f -s /usr/bin somelink (works)
>
> OK. That suggests that writing `$(LN_S) -f' anywhere is probably
> a mistake; we need an autoconf test to get us an LN_SF that works.
The autoconf manual says "Don't rely on `ln' having a `-f' option.".
Is there a reason against using the simple and portable
rm -f somelink
ln -s /usr/bin somelink
?
> Thanks,
cu
Adrian
--
Get my GPG key: finger bunk@debian.org | gpg --import
Fingerprint: B29C E71E FE19 6755 5C8A 84D4 99FC EA98 4F12 B400