Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Compiler problem related to dwarf debug info?



Hmm,

it appears that I forgot to mention one peculiarity of my setup; I
have this local change in my build setup:

Index: Makefile
===================================================================
RCS file: /cvsroot/src/tools/gcc/Makefile,v
retrieving revision 1.30
diff -u -p -r1.30 Makefile
--- Makefile    25 Oct 2008 22:15:28 -0000      1.30
+++ Makefile    28 Dec 2008 21:37:44 -0000
@@ -30,6 +30,9 @@ MAKE_ARGS=    MACHINE= MAKEINFO=${TOOL_MAKE
                EXTRA_PARTS= CPPFLAGS=-DNETBSD_TOOLS \
                AR=${HOST_AR:Q} RANLIB=${HOST_RANLIB:Q}
 
+# Local hack to build compiler with debugging
+HOST_CFLAGS+= -g -O
+
 CONFIGURE_ENV+= gcc_cv_libc_provides_ssp=yes
 
 MKNATIVE_ENV=  ${BINENV} ${CONFIGURE_ENV:NC*:NLD*} \

That might make a difference...

- Håvard


Home | Main Index | Thread Index | Old Index