Daniel Jacobowitz wrote:
On Mon, Apr 11, 2005 at 10:02:06AM -0700, Daniel Kegel wrote:
BTW, I hope -fno-unit-at-a-time doesn't go away until at least gcc-4.1.1
or so... I still lean on that crutch.
A user! Can you explain why?
Hmm. I just looked, and it seems the only thing I still
use it for is glibc-2.2.x and later.
For glibc-2.3.2, I use the nice patch from glibc cvs:
http://kegel.com/crosstool/crosstool-0.28-rc26/patches/glibc-2.3.2/glibc-2.3.2-allow-gcc-3.4-nounit.patch
For earlier glibc's, I just force in -fno-unit-at-a-time globally.
I might use it somewhere else, too, but I can't put my finger on it.
Generally I prefer to fix software to really build with newer
compilers, but sometimes when faced with a pile of legacy third-party source
turning on a magic compiler flag is more practical.
- Dan