gcc 3.0.1 does not work on Solaris 8/sparc

egcs@thewrittenword.com egcs@thewrittenword.com
Thu Sep 6 21:39:00 GMT 2001


On Fri, Sep 07, 2001 at 12:31:20AM -0400, David Edelsohn wrote:
> 	The "-f" force option to ln is suppose to force the link even if
> the target already exists.  The problem is not that the link already
> exists, it's that the "-f" flag is being ignored because of the option
> order. 

So you're saying if we reverse -s and -f it will work?:
  $ touch /tmp/a
  $ /bin/ln -f -s /tmp/a /tmp/b
  $ /bin/ln -f -s /tmp/a /tmp/b
  ln: cannot create /tmp/b: File exists
  $ /usr/xpg4/bin/ln -f -s /tmp/a /tmp/b
  ln: cannot create /tmp/b: File exists

-- 
albert chin (china@thewrittenword.com)



More information about the Gcc mailing list