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: installing with minimal sudo


On 30/06/2010 22:18, Basile Starynkevitch wrote:

> How do you build & install GCC (trunk or some other branch) without
> having any root owned files in the build directory?

  Run "make install" as the limited user, using a DESTDIR, then "sudo cp -R"
(or similar) the installed tree into final destination.

    cheers,
      DaveK


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