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]
Other format: [Raw text]

Re: Installation proposal


On Wed, 27 Feb 2002, Mark Mitchell wrote:

> 3. At install time, run a single script which copies everything in
>    install into prefix.

Please ensure that this installs all shared libraries (most importantly
libgcc, but the others as well) in a safe manner.  install-sh doesn't
handle that properly at present.  Safe means that the shared library is
always available for any other processes started at any time; the
installed files need to be copied to a temporary name, that renamed to the
final name, and then if there's a symlink from the soname to the name of
the library file, that must be redirected to point to the new file
atomically.

> What's good about this?

5. Supporting DESTDIR with this new system is trivial.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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