On Thu, Nov 22, 2001 at 10:08:44AM +0100, Andre.Messerschmidt@infineon.com wrote: > Hi. > > For my environment I need a compiler that supports dwarf debug information. > Sadly my precompiled version does not have this support so I tried it on my > own, using Bradley D. LaRonde's HowTo. > All went well but I had to learn that GCC 3.0.1 is not able to compile a > current kernel. So I tried version 2.95.3, but I ran into the same problem > that I had last time I tried such a thing. When compiling glibc the process > failed because of a missing -D__PIC__ option. I was told that this has to do > with a non-MIPS compiler that is used, but the compiler used is my previous > build static version of gcc. > I don't know what else may be wrong or where to look. Can anybody enlighten > me? > > Or has anybody a precompiled gcc with dwarf support for download (That is > able to compile a current kernel, of course. ;-) )? > May I ask why you want dwarf? FWIW, gcc 2.96 in my RedHat 7.1 mips port supports dwarf, but not as default. I don't know how well it works with dwarf. Yes, both cross compiler running on RedHat/x86 7.1/7.2 and native compiler are provided in my mips port. H.J.