[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cannot build bzr tip on mingw
From: |
Eli Zaretskii |
Subject: |
Re: cannot build bzr tip on mingw |
Date: |
Mon, 02 May 2011 23:31:59 +0300 |
> From: Sam Steingold <address@hidden>
> Date: Mon, 02 May 2011 15:47:01 -0400
>
> $ ./configure.bat --no-debug --with-gcc --cflags -IC:/gnu/gnuwin32/include
> --ldflags -LC:/gnu/gnuwin32/lib --without-xpm
Do you always configure like that, or did something change since the
last time you bootstrapped?
> $ make bootstrap
> ...
> gcc -o oo-spd/i386/make-docfile.exe -mno-cygwin -LC:/gnu/gnuwin32/lib
> oo-spd/i386/make-docfile.o oo-spd/i386/ntlib.o -ladvapi32
> /usr/bin/ld: cannot find crt2.o: No such file or directory
> /usr/bin/ld: cannot find -lmingw32
> /usr/bin/ld: cannot find -lmoldname
> /usr/bin/ld: cannot find -lmingwex
> /usr/bin/ld: cannot find -lmsvcrt
> /usr/bin/ld: cannot find -lmingw32
> /usr/bin/ld: cannot find -lmingw32
> /usr/bin/ld: cannot find -lmoldname
> /usr/bin/ld: cannot find -lmingwex
> /usr/bin/ld: cannot find -lmsvcrt
> collect2: ld returned 1 exit status
> make[1]: *** [oo-spd/i386/make-docfile.exe] Error 1
> make[1]: Leaving directory `/cygdrive/c/sds/src/emacs/trunk/lib-src'
> make: *** [bootstrap-gmake] Error 2
I don't get these errors when linking make-docfile.exe, but I didn't
do a bootstrap. (Not sure why it should matter, though.)
What does the following command display?
gcc -print-file-name=libmingw32.a
> Incidentally, I am using
> gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
> and I am wondering if using gcc4 is an option.
I'm using
gcc (GCC) 3.4.2 (mingw-special)
and won't touch gcc4 with a 3-mile stick, until 4.6.x gets mature
enough, and I can have my debugging together with -O2 again, like I
had with 2.7.x and 2.8.x.
But yes, you can use GCC 4, modulo the caveats in etc/PROBLEMS.