Menu

#1295 [PATCH] Fix support for parallel jobs on Windows

Undefined
open
nobody
None
Patch
2024-01-31
2022-08-05
No

When using make -j on CYGWIN and MSYS, I'm getting this error:

*** No rule to make target «auto_revision», needed by «all-local». Stop.

But it works fine if I run make without the -j option.
The cause of this problem is described here:

https://www.gnu.org/software/automake/manual/html_node/EXEEXT.html

On Windows, automake transparently appends $(EXEEXT) to the binary targets, so when you prepare all-local you must use auto_revision$(EXEEXT) because auto_revision actually doesn't exist.
Attached patch fixes the issue.

Sincerely,

Carlo Bramini.

Related

Tickets: #1360

Discussion

  • Carlo Bramini

    Carlo Bramini - 2022-08-05

    The patch.

     
  • ollydbg

    ollydbg - 2022-11-05

    I really don't know, but it looks like you want to build C::B under CYGWIN?

    Under Windows and inside C::B, you want to run the make command?

     
    • Carlo Bramini

      Carlo Bramini - 2022-11-07

      I really don't know, but it looks like you want to build C::B under CYGWIN?

      Yes, I'm using bash shell from CYGWIN when building.
      However, it happens also when you try to build Code::Block under linux with MinGW-w64 cross compiler, same identical issue. The $(EXEEXT) is expected to be used by design in this case, as it is explained into the automake man page linked above.

      Under Windows and inside C::B, you want to run the make command?

      I have not understood this sentence, sorry.

       

      Last edit: Carlo Bramini 2022-11-07
  • Mehdi Chinoune

    Mehdi Chinoune - 2023-12-19

    Any progress?

     
    • Carlo Bramini

      Carlo Bramini - 2023-12-20

      It is still not fixed.

       
      • Mehdi Chinoune

        Mehdi Chinoune - 2024-01-31

        Fixed by [r13431]

         

        Related

        Commit: [r13431]


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.