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: Running GCC as root


On Mon, 14 Feb 2005, Daniel Jacobowitz wrote:

> > If we are in fact trying to cater to people who run the full compiler
> > as root, then I suppose there's some auditing to be done to make sure
> > GCC itself doesn't unlink /dev/null ever, or similar things...
> 
> I'm pretty sure that one's already _been_ done.  And in binutils too.
> I'm just going from memory though.

 Only in GCC.  For gas you need the -Z option, which is not exactly the 
same and is going to break Makefiles if used (and you get funny 
dependencies if you hit an internal error).  For ld apparently there is no 
option to keep output at all.

  Maciej


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