This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc 3.0.1 does not work on Solaris 8/sparc


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]