This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
compiling gcc under mingw
- From: "Alexander Shabanov" <avshabanov at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 5 Jun 2006 09:33:51 +0300
- Subject: compiling gcc under mingw
- References: <43a7c3700606042331y51d64c62rbe54ba13ee156ae9@mail.gmail.com>
Hello!
Yesterday I downloaded gcc4.1.1 (core and g++) and tried to compile
it. Under cygwin it was built without any errors, but under mingw
appeared error after building libcpp:
==================================================
...
make[2]: Leaving directory `/d/gcc/gcc411/gcc-4.1.1/obj_mingw/libcpp'
make[2]: Entering directory `/d/gcc/gcc411/gcc-4.1.1/obj_mingw/gcc'
Makefile:1277: *** target pattern contains no `%'. Stop.
make[2]: Leaving directory `/d/gcc/gcc411/gcc- 4.1.1/obj_mingw/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Target `all-host' not remade because of errors.
make[1]: Target `all-target' not remade because of errors.
make[1]: Leaving directory `/d/gcc/gcc411/gcc- 4.1.1/obj_mingw'
make: *** [all] Error 2
==================================================
Makefile, generated under mingw has following lines:
/d/gcc/gcc411/gcc-4.1.1/obj_mingw/gcc/Makefile:
==========================================
...
1277stamp-collect-ld: $(ORIGINAL_LD_FOR_TARGET)
1278 @echo creating collect-ld; \
1279 case "$(ORIGINAL_LD_FOR_TARGET)" in \
1280 ./collect-ld) ;; \
...
==========================================
When I compiled gcc, I created 2 obj directories: obj_cygwin and obj_mingw,
then simply executed '../configure' and 'make'.
What I am doing wrong under mingw?
--
Best regards,
Alexander Shabanov
--
Best regards,
Alexander Shabanov