This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

compiling gcc under mingw


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]