This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] new-bootstrap with preinstalling
DJ Delorie wrote:
This line won't work:
+ rm -f gcc ; ln -sf stage3-gcc gcc ; \
Also, DJGPP *has* "ln -s". It works for executables, too. It just
doesn't work for directories.
Note that we're working on simulating this too, though, it may be
stable enough to rely on in the future.
The safe fallback in the cases we're thinking of should be 'cp -r'. (Or
'mv' with a later 'mv' back, in a pinch.) If either of those can be
implemented in a portable script, we're OK.
I think that's feasible everywhere though I haven't done it. :-)