O Tue, Dec 19, 2006 at 05:32:24PM -0500, Bob Rossi wrote: > On Tue, Dec 19, 2006 at 10:53:54AM -0500, Bob Rossi wrote: > > Hi, > > > > Is this the correct place to talk about problems compiling gcc on mingw? > > > > If I checkout svn trunk, and do, > > I've reverted this patch, > http://gcc.gnu.org/viewcvs?view=rev&revision=119017 > and I am able to build svn trunk without a problem. It may not solve the > problem I'm having (making gcc relocatable), but it does build. > > Mark or Carlos, do you have any idea why this patch is giving me an > assertion? What should I do? Hi Carlos, I'm sorry. I've run it 2 ways. With prefix=/c/mingw and with prefix=/mingw. prefix=/mingw is the historically correct way to do this from what I understand. I only tried it with /c/mingw once as a test to see if it would work around the problem I found. With --prefix=/mingw my configure line was, mkdir gcc-builddir-0 cd gcc-builddir-0 ../gcc/configure \ --disable-werror \ --with-gmp=/home/bobbybrasko/gcc/gmp/gmp \ --with-mpfr=/home/bobbybrasko/gcc/mpfr/prefixdir \ --host=mingw32 \ --target=mingw32 \ --prefix=/mingw \ --program-suffix="-4.1" \ --with-gcc \ --with-gnu-ld \ --with-gnu-as \ --enable-threads=win32 \ --disable-nls \ --enable-languages=c,c++ \ --disable-win32-registry \ --disable-shared \ --enable-static \ --without-x \ --enable-libstdcxx-debug \ 2>&1 | tee configure-out.txt Here was the build line, cd gcc-builddir-0 make \ CFLAGS="-O2 -fomit-frame-pointer" \ CXXFLAGS="-mthreads -fno-omit-frame-pointer -O2" \ LDFLAGS=-s \ bootstrap 2>&1 | tee make-out.txt And the debug info was found here, http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01356.html p->fname=/mingw/include cpp_PREFIX=C:/mingw cpp_PREFIX_len=8 Sorry about the confusion. Thanks, Bob Rossi