This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

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. :-)


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