Author Topic: Makefile build bug?  (Read 3843 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7607
    • My Best Post
Makefile build bug?
« on: March 04, 2013, 12:13:36 am »
FYI:

I am getting weird build log message when doing custom makefile build both with 12.11 and SVN Truck 8898

Quote
make.exe: *** No rule to make target `cmd'.  Stop.
make.exe: Nothing to be done for `>'.

Workaround to to set "Compiler Logging" to "Full command line"

The problems happens if "Compiler Logging" set to "Task Description" or to "No logging"

I would suggest fixing "No logging", first.
Because, I think "Task Description" could be set to do the same as "Full command line" or "No logging" for now.

Windows 7 32 bit running TDM's MinGW gcc make (mingw32-make.exe)

Tim S.
« Last Edit: March 04, 2013, 12:30:33 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7607
    • My Best Post
Re: Makefile build bug?
« Reply #1 on: March 04, 2013, 06:15:21 pm »
I have attached a very simple makefile, CB Project and source file to show the problem.

Can someone confirm the problem exists on another PC under Windows?

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Makefile build bug?
« Reply #2 on: March 04, 2013, 07:30:50 pm »
I have attached a very simple makefile, CB Project and source file to show the problem.

Can someone confirm the problem exists on another PC under Windows?

Tim S.
I will look into it this evening.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7607
    • My Best Post
Re: Makefile build bug?
« Reply #3 on: March 04, 2013, 08:06:59 pm »
After I changed the tool chain to use "mingw32-make.exe" as the make exe I was able to duplicate the issue at my college computer lab.
They are Windows 7 SP1 64 bit.
They are also run in administrator mode at all times with UAC turned off.
I am administrator at home with UAC turned on on Windows 7 Ultimate 32 bit SP 1.

Tim S.  


 
« Last Edit: March 04, 2013, 10:39:09 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org