Difference between WinAVR and AVR GCC ?

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

What is the difference between WinAVR and AVR GCC that is now included in AVR Studio ?

Thanks :)

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

WinAVR is a binary distribution that contains (among other things)
AVR-GCC. It's probably the best known binary distribution of AVR-GCC
for Win32 systems. Other OSes have their own distribution of the
tools as well.

AVR Studio doesn't contain AVR-GCC, it only contains a hook to
integrate AVR-GCC as an external compiler. Still, you somehow need to
ensure you've got the compiler installed by other means (like, by
installing WinAVR).

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.

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

Hi Jörg Wunsch

Thanks for your replay!

In last newsletter from Atmel was this written:

Quote:

- Integrated AVR GCC compiler
Integrated development with any AVR GCC compiler is now supported with AVR Studio. WinAVR or any other AVR GCC compiler must be downloaded and installed separately, but with IDE support in AVR Studio you can easily and fast get started with C code development and debugging.

It seems that AVR GCC compiler in included in version AVR Studio 4.12 RC1 (build 452) !

Q1: If I use AVR Studio 4.12 and AVR GCC dont I not need make file?

I like to have control over my compiler and I like make files ! Make file offers alot off functionality that is veary helpful :) or painful :evil:

Q2: I have been using WinAVR and it works great!
But I will not risk that my code will have som compiler failure if I change to AVR GCC. Do I need to have any concern if I use AVR GCC compiler with AVR Studio 4.12 ?

I have the feeling that you Jörg now alot about winAVR compiler. I almost don't see a make file with out your name in it.

Thanks for all the work you have done and for the forum :P

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

Now this is what happends if You post the same or similar question to two different forums. You get several people answering the same question in different places, effectively wasting at least one of those persons time. Add to this the confusion and "noise" it creates and You will understand why this is not popular. Not popular at all.

Sorry, but You got me somewhat irritated, so I'll rant: What is wrong with Your reading abilities? Read this slowly, and over again until You fully understand it:

Quote:
WinAVR or any other AVR GCC compiler must be downloaded and installed separately

The cross-post is here:https://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=180202&highlight=#180202

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"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

Let's see if the fourth person to state this will make it any clearer:
You do not download any "new" compiler along with AVR Studio 4.12. AVR Studio 4.12 simply includes the ability to make use of a compiler that you've already got on the system, and hopefully does it in a more convenient way for a couple of reasons:
1) You can write, build, debug, and deploy your software from a single place without having to switch between applications.

2) You can bypass the complexity of working with makefiles because AVR Studio will generate its own makefiles automatically based on your preferences.

Furthermore, You are not moving "from" WinAVR to AVR-GCC. You have always been using avr-gcc, even while you were exclusively using the WinAVR package by itself.

No new compiler gets installed with AVR Studio 4.12. It makes use of the compiler that you already have when you installed WinAVR.

Quote:
Q1: If I use AVR Studio 4.12 and AVR GCC dont I not need make file?

The main benefit that is advertised for using AVR Studio 4.12 as an IDE for WinAVR is that it is able to take care of managing the makefiles for you, so that (at least for trivial projects) you don't even have to know that there are any makefiles involved at all.

If you prefer, you can instruct AVR Studio to use an externally-defined makefile, in which case you can import the working makefile that you already had from your Programmer's Notepad days. In that case, there will be absolutely nothing different about the build process in AVR Studio than there used to be in PN, or from a DOS prompt.

- Luke

PS: Sorry if this post seems overly harsh or demeaning. That's not the spirit with which it was intended. I'm just trying to be as plain and direct as possible, since you seem to have misunderstood the answers you've been given so far.

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

That guy won't get any answer from me again anyway.

That's the price for pointless crossposting. Too bad this is a
silly web forum, and not a news group where the newsreaders
have got the ability to maintain a "kill file".

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.

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

Hi Jöeg & Johan

I'm very sorry if I waste your time in any way !

I had two different questions and I was self confused ware to ask, in which forum ?

Q1: Using AVR Studio with WinAVR compiler ! Seems more like question for AVR studio forum.

Q2: Difference between WinAVR and AVR GCC ! Seems more like question for AVR GCC forum.

Thanks for all the work you have "both" done for the forum. You have "both" written good answers in the forum and I hope that you will still answer my questions!

I'll ensure you to use the forum's in the best way in the furture!

Hope you understand apology.

Best regards
From the gay that is clamping up the steep programmers hill :wink:

Last Edited: Wed. Oct 26, 2005 - 08:47 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hardware, firmware, software and confusedware. That covers everything, I think.

Four legs good, two legs bad, three legs stable.

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

John_A_Brown wrote:
Hardware, firmware, software and confusedware. That covers everything, I think.

You forgot vapourware. :wink: