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, Zack Weinberg wrote:

> >  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.
> 
> "Keep output on errors" is not at all the same as "don't unlink the
> output if it's not a regular file", which is the way to avoid
> destroying /dev/null.

 Which is why I wrote "which is not exactly the same..."  But it works as 
is for tests we perform to check whether gas accepts certain options when 
doing Linux builds. 8-)

  Maciej


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