Unable to find make.exe avr8 tool chain

Go To Last Post
15 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I use avr8-gnu-toolchain. I am unable to find make.exe file. Which is the equivalent of it? I looked in bin folder, but did not see anything.  http://www.nongnu.org/avr-libc/user-manual/install_tools.html says make can be used. Also could not see any mention of makefile in avr-libc-user-manual.pdf

 

Is "make" is a separate package that I need to install (Ex: http://http://ftp.gnu.org/gnu/make/). Any compatibility issues or any specific integration we have to do for AVR-GCC?

I use Codeblocks, and want to use makefile with that.

This topic has a solution.

Last Edited: Sun. Jul 16, 2017 - 05:03 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Where did you get your avr8-gnu-toolchain? 

 

Anyway a Google for "gnu make for windows" hits this as the top hit:

 

http://gnuwin32.sourceforge.net/...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Where did you get your avr8-gnu-toolchain? 

I got it from http://www.atmel.com/tools/atmelavrtoolchainforwindows.aspx and I have been using for more than a year.

 

Downloaded makefile utility and exploring.

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Is there some reason for not using AS7 then? If the toolchain package itself does not contain make then it must be part of the AS7 delivery.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

No, as far as I can see there is no Make in AVR Toolchain for Windows.

 

Yes, Atmel Studio comes with a Make (in "C:\Program Files (x86)\Atmel\Studio\7.0\shellutils").

"He used to carry his guitar in a gunny sack, or sit beneath the tree by the railroad track. Oh the engineers would see him sitting in the shade, Strumming with the rhythm that the drivers made. People passing by, they would stop and say, "Oh, my, what that little country boy could play!" [Chuck Berry]

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

AS7 is resource hungy. I can have cup of tea once I start AS7. Even build also takes lot of time. Codeblocks + avr gnu tool chain specified above is fantastic.

 

I wanted USB Boot loader. So downloaded bootloadHID.2012-12-08.tar.gz from https://www.obdev.at/products/vusb/bootloadhid.html,

But here I have issue and could not convert to codeblocks project. So installed makefile utility.

But now I get following error at the end.

 

rm -f main.hex main.eep.hex
process_begin: CreateProcess(NULL, rm -f main.hex main.eep.hex, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [main.hex] Error 2

 

Sorry, I am using makefile for the first time and need some help. Going through the entire manual might take some time.

 

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Your makefile trries to run rm (the Unix/ GNU/Linux  equivalent of DOS/CMDs del) but can not find rm.exe.

 

Do you have rm on your system?

 

Even if you don't want tu use Studio it might be the easiest way to get Windows-built versions of all those small utilities that e.g. many makefiles need.

 

Just as it is with Make, the Studio install brings rm. The AVR Toolchain zip does not contain any rm.

 

This is likely not the last such utility you will miss, so a solution that only fixes rm is a bad move.

"He used to carry his guitar in a gunny sack, or sit beneath the tree by the railroad track. Oh the engineers would see him sitting in the shade, Strumming with the rhythm that the drivers made. People passing by, they would stop and say, "Oh, my, what that little country boy could play!" [Chuck Berry]

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Installed AS7.

Updated PATH in System Variable (Added these two and removed old ones. C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avr8-gnu-toolchain\bin; C:\Program Files (x86)\Atmel\Studio\7.0\shellutils)

 

It Worked!! Thanks for the help. 

 

Let me keep AS7 atleast for this purpose if not for compiling. But observed that latest build whatever available in microchip site is giving better perfomance. If that is the case, I may continue with AS7 itself.

Last Edited: Sun. Jul 16, 2017 - 02:53 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

joneewheelock wrote:
But here I have issue and could not convert to codeblocks project.

Is there no hexfile included?
.
MG

I don't know why I'm still doing this hobby

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm lost.  the thread appears to be about where make.exe is ... or isn't.

 

But isn't the last post reporting the error from make?

 

joneewheelock wrote:
Installed AS7.
joneewheelock wrote:
main.eep.hex

An interesting Windows file name.

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

theusch wrote:
I'm lost.  the thread appears to be about where make.exe is ... or isn't.   But isn't the last post reporting the error from make?

It is. And I explained in #7 about that specific error.

 

theusch wrote:
joneewheelock wrote: main.eep.hex An interesting Windows file name.

Why? (Somewhere in the previous century MS managed to heave themselves above the 8.3 filename limitations. A half-*rsed solution, as so often in Redmond, but they did.)

"He used to carry his guitar in a gunny sack, or sit beneath the tree by the railroad track. Oh the engineers would see him sitting in the shade, Strumming with the rhythm that the drivers made. People passing by, they would stop and say, "Oh, my, what that little country boy could play!" [Chuck Berry]

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

.Hex file is there in the package with some default settings for Atmega8. But wanted to change the configuration a bit. Now looks OK. Only struggling to install Windows driver!! Need to see this or other forums.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Windows driver for HIDbootloader??
VUSB use libusb so google for libusb windows driver maker. It's very easy to use and installing driver.
.
MG

I don't know why I'm still doing this hobby

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Agreed, but even after installing libusb driver (already exists, but removed and re-installed), USB Device not recognised message is displayed and device manager says "Unknown USB Device, Device descriptor request Failed)". I guess I will raise separate request or see if there are any other posts and put there complete details.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

theusch wrote:
An interesting Windows file name.
Those of us who use Linux are not afraid of multi-part filenames even on Windows. Not only do I regularly use .tar.gz on Windows but say I'm working on someprog.dll and want to keep a specific version while the next one is created I will maybe move it out of the way as somepog.dll.working_copy or something like that.