News for hackers. Stuff that matters.
Re:HN: What is something you learned way too late in life? by zerohp on Tuesday March 29, 2011 @01:43AM (#2381527)
I learned this two days ago, so I'm still embarrassed about it because I should have known about it 10+ years ago.

In an autotools based project (one with a configure script) you can build it such that intermediate files aren't created in its source dirs. For example:

  tar xjvf gcc-4.6.0.tar.bz2
  mkdir gcc-obj
  cd gcc-obj
  ../gcc-4.6.0/configure
  make
Re:HN: What is something you learned way too late in life? by chris_j on Tuesday March 29, 2011 @03:07AM (#2381715)
That's awesome and is something that I only just discovered myself. Does it work with any autotools project?
Re:HN: What is something you learned way too late in life? by zerohp on Tuesday March 29, 2011 @12:01PM (#2383139)
Yes