[Bug ada/15298] New: Mingw32 build fails while trying to build collect2()

p dot obry at wanadoo dot fr gcc-bugzilla@gcc.gnu.org
Wed May 5 17:11:00 GMT 2004


I have seen discussion about collect2() support on Mingw32 platform. This is 
not supported yet but there is a glitch in the makefile that trigger collect2
() build on Mingw32. The following trivial patch fix this. I think that this 
is related to the Ada build only but I'm not sure.

*** Makefile.in.orig	Sun Apr  4 20:09:51 2004
--- Makefile.in	Sun Apr  4 20:10:00 2004
***************
*** 938,948 ****
  # language hooks, generated by configure
  @language_hooks@
  
- # per-language makefile fragments
- ifneq ($(LANG_MAKEFRAGS),)
- include $(LANG_MAKEFRAGS)
- endif
- 
  # target and host overrides must follow the per-language makefile fragments
  # so they can override or augment language-specific variables
  
--- 938,943 ----
***************
*** 956,961 ****
--- 951,961 ----
  include $(xmake_file)
  endif
  
+ # per-language makefile fragments
+ ifneq ($(LANG_MAKEFRAGS),)
+ include $(LANG_MAKEFRAGS)
+ endif
+ 
  #
  
  # -----------------------------

-- 
           Summary: Mingw32 build fails while trying to build collect2()
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: p dot obry at wanadoo dot fr
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: pentium-mingw32msv
  GCC host triplet: pentium-mingw32msv
GCC target triplet: pentium-mingw32msv


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15298



More information about the Gcc-bugs mailing list