bugmake - Bugs: bug #48037, Build broken for windows

 
 

bug #48037: Build broken for windows

Submitted by:  None
Submitted on:  Fri 27 May 2016 08:56:16 AM UTC  
 
Severity:  3 - Normal Item Group:  Build/Install
Status:  Fixed Privacy:  Public
Assigned to:  Eli Zaretskii <eliz> Open/Closed:  Closed
Component Version:  4.2 Operating System:  MS Windows
Fixed Release:  4.2.1 Triage Status:  Small Effort

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Fri 27 May 2016 07:43:23 PM UTC, comment #6: 

Pushed a proposed fix; closing.

Eli Zaretskii <eliz>
Project MemberIn charge of this item.
Fri 27 May 2016 01:55:35 PM UTC, comment #5: 

The build_w32.bat script exists so that GNU Make could be easily built natively on Windows without all the development environment being available (since Make is an essential part of that environment).

Anyway, feel free to submit patches for building MinGW Make using the Posix configury stuff.  If it looks reasonably clean, I will push them.

Thanks.

Eli Zaretskii <eliz>
Project MemberIn charge of this item.
Fri 27 May 2016 01:45:34 PM UTC, comment #4: 

I cross compile windows tools on *nix so the bat file isn't of any use to me, there are probably others out there who do the same on Cygwin / MSYS2 as they're more comfortable with a configure / make build.

Anonymous
Fri 27 May 2016 01:15:59 PM UTC, comment #3: 

The officially supported method of building Make with MinGW is by running the build_w32.bat batch file.  FWIW, I don't even understand why we maintain Makefile.am in the w32 subdirectory.  Maybe Paul can comment on that.

Eli Zaretskii <eliz>
Project MemberIn charge of this item.
Fri 27 May 2016 12:26:25 PM UTC, comment #2: 

Sorry didn't see glob was included in the source tree, there's a missing include in the w32 Makefile.am

(file #37284)

Anonymous
Fri 27 May 2016 09:40:40 AM UTC, comment #1: 

glob.h is in the glob/ subdirectory of the top-level make source directory, and buiuld_w32.bat invokes GCC with the -I./glob switch, so how come glob/glob.h is not found by the compiler in your case?  (It does find it here, although I use mingw.org's MinGW, not mingw-w64.)

Eli Zaretskii <eliz>
Project MemberIn charge of this item.
Fri 27 May 2016 08:56:16 AM UTC, original submission:  

Git commit ba8383e  added #include <glob.h> to makeint.h, which isn't available when compiling with vanilla mingw-w64.

6f7fb05 Compiles fine.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #37284:  make.patch added by None (486B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by eliz (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-05-27 eliz StatusWorks for me => Fixed
        Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.2.1
    2016-05-27 eliz Triage StatusNeed Info => Small Effort
    2016-05-27 None Attached File- => Added make.patch, #37284
    2016-05-27 eliz StatusNone => Works for me
        Assigned toNone => eliz
        Triage StatusNone => Need Info

    Back to the top


    Powered by Savane 3.6