View Full Version : Which version of gcc...
October 3rd, 2005, 04:06 AM
...should I be using ? Why so many versions in synaptic ? I'm using v3.3 now, which I believe is the default hoary setup. Should I be using v4 instead ? And if so, why ? Thanks for any answers.
October 3rd, 2005, 04:53 AM
Whatever you're using, you're best to use the default compiler, unless you have a good reason. So for hoary, stick with gcc 3.3.
Some of the other gcc versions in Synaptic (e.g. gcc-avr) are for cross-compiling to embedded processors. Sometimes older and newer versions of gcc (e.g. gcc-4 with hoary) are included for developers who specifically need them.
Breezy uses GCC 4, which has some features which are not present in GCC 3.3, most notably auto-vectorisation and precompiled headers. It's up to you to decide whether it's worth it to you to use a non-default compiler. Since you can have both installed at the same time, it's not a big deal if you want to try out GCC 4.
October 3rd, 2005, 07:41 AM
Thanks for that. :)
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.