Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Variety of C++ compilers.

Variety of C++ compilers.

Scheduled Pinned Locked Moved The Lounge
csharpc++visual-studio
37 Posts 20 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Nemanja Trifunovic

    There are many compilers out there, but in practice you typically need to worry about a single compiler vendor per platform: for Windows - MSVC++, Linux - GNU C++, Solaris - Oracle Sun CC, etc.

    utf8-cpp

    M Offline
    M Offline
    Mike Diack
    wrote on last edited by
    #7

    For what it's worth, I'm using (day to day): VC++6. VC++2003 VC++2010 Hiware V5 (1999!) Cross compilers for embedded work. GCC (version 3.45 I think) for embedded work.

    M 1 Reply Last reply
    0
    • M Matthew Faithfull

      I'm interested to know what the range and popularity of different C++ compilers and linked IDEs is amongst my fellow CPians. My guess is that there are really good stats for this buried away somewhere in Bob's sock draw from numerous surveys over the past few years. It would be nice if someone could dig them out and collate them ;P I'm especially interested to see what the range of Visual Studio versions used looks like given the large number of variants now in circulation and whether there's any uptake of Clang given that it seems to struggle to produce Windows binaries. An article on portability between compilers will follow eventually if I can ever get it knocked into shape.

      "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

      B Offline
      B Offline
      Bassam Abdul Baki
      wrote on last edited by
      #8

      Now that you've reminded me, I had to download Code::Blocks to see if I can compile (without running) some AIX C++ code on a Windows machine. So far, not so good. :sigh:

      Web - BM - RSS - Math - LinkedIn

      M 1 Reply Last reply
      0
      • M Mike Diack

        For what it's worth, I'm using (day to day): VC++6. VC++2003 VC++2010 Hiware V5 (1999!) Cross compilers for embedded work. GCC (version 3.45 I think) for embedded work.

        M Offline
        M Offline
        Matthew Faithfull
        wrote on last edited by
        #9

        Thanks Mike that's exactly the sort of feedback I was hoping for. I don't think I'll be taking on Hiware V5 but I might just look it up for the sake of interest.

        "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

        1 Reply Last reply
        0
        • B Bassam Abdul Baki

          Now that you've reminded me, I had to download Code::Blocks to see if I can compile (without running) some AIX C++ code on a Windows machine. So far, not so good. :sigh:

          Web - BM - RSS - Math - LinkedIn

          M Offline
          M Offline
          Matthew Faithfull
          wrote on last edited by
          #10

          That sounds like exactly the sort of thing CompilerQOR would be useful for. If it's worth something to you I could take a look. Not that you heard this from me but Microsoft 'allegedly' rippped off chunks of the AIX C library to build their own so the two are not as far apart as they might be.

          "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

          1 Reply Last reply
          0
          • M Matthew Faithfull

            I'm interested to know what the range and popularity of different C++ compilers and linked IDEs is amongst my fellow CPians. My guess is that there are really good stats for this buried away somewhere in Bob's sock draw from numerous surveys over the past few years. It would be nice if someone could dig them out and collate them ;P I'm especially interested to see what the range of Visual Studio versions used looks like given the large number of variants now in circulation and whether there's any uptake of Clang given that it seems to struggle to produce Windows binaries. An article on portability between compilers will follow eventually if I can ever get it knocked into shape.

            "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

            G Offline
            G Offline
            glennPattonWork3
            wrote on last edited by
            #11

            My use of C++ was limited to a firm that used Borland Builder for windows development as the software dept (one guy) didn't trust Microsoft and yet he used Outlook Express. Having used the Borland Turbo compilers (DOS) I found it a jolt (my previous job I was using VB6 for some scary stuff!). I have used in anger Borland C++ Builder (4,5,6,2006) VC6 & VC.NET but felt happier with C#. So I would be very interested to read your article, Windows binaries (?) even most of the free ware (Bloodshed etc) stear away from them. Glenn

            M 1 Reply Last reply
            0
            • G glennPattonWork3

              My use of C++ was limited to a firm that used Borland Builder for windows development as the software dept (one guy) didn't trust Microsoft and yet he used Outlook Express. Having used the Borland Turbo compilers (DOS) I found it a jolt (my previous job I was using VB6 for some scary stuff!). I have used in anger Borland C++ Builder (4,5,6,2006) VC6 & VC.NET but felt happier with C#. So I would be very interested to read your article, Windows binaries (?) even most of the free ware (Bloodshed etc) stear away from them. Glenn

              M Offline
              M Offline
              Matthew Faithfull
              wrote on last edited by
              #12

              Thanks for the encouragement. It's nice to come accross someone else who started out with Borland Turbo compilers. I still have a copy of v0.99 for DOS on a VM somewhere, template classes in 1993, that was cool stuff :-D

              "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

              G 1 Reply Last reply
              0
              • M Matthew Faithfull

                Thanks for the encouragement. It's nice to come accross someone else who started out with Borland Turbo compilers. I still have a copy of v0.99 for DOS on a VM somewhere, template classes in 1993, that was cool stuff :-D

                "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                G Offline
                G Offline
                glennPattonWork3
                wrote on last edited by
                #13

                The thing I think is odd being an Embedded guy really is the ammount of problems there with all the different commpilers. C++ like C was supposed to be a standard it works on my PC it should work on yours. There are now so many subsets of C / C++ it got silly. VC6 was plain hard to use, Borland was a doddle until you wanted something different from a simple form app. I ran from that company. I started with Turbo Pascal 6 I think back in the day when I had an Amiga (and learnt C, with something called North C). Ahh memory's!:cool:

                1 Reply Last reply
                0
                • M Matthew Faithfull

                  I'm interested to know what the range and popularity of different C++ compilers and linked IDEs is amongst my fellow CPians. My guess is that there are really good stats for this buried away somewhere in Bob's sock draw from numerous surveys over the past few years. It would be nice if someone could dig them out and collate them ;P I'm especially interested to see what the range of Visual Studio versions used looks like given the large number of variants now in circulation and whether there's any uptake of Clang given that it seems to struggle to produce Windows binaries. An article on portability between compilers will follow eventually if I can ever get it knocked into shape.

                  "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #14

                  gcc 4.2/4.7, clang 3.x and vs 2010. Gcc for production builds, gcc or clang for dev linux builds (clang is faster and has better error reporting in many cases) and VS for debugging in windows. I use VS as an IDE as well but many people here use vi

                  M 1 Reply Last reply
                  0
                  • L Lost User

                    gcc 4.2/4.7, clang 3.x and vs 2010. Gcc for production builds, gcc or clang for dev linux builds (clang is faster and has better error reporting in many cases) and VS for debugging in windows. I use VS as an IDE as well but many people here use vi

                    M Offline
                    M Offline
                    Matthew Faithfull
                    wrote on last edited by
                    #15

                    Thanks, it sounds like you're doing genuinely cross platform stuff which is where I'm headed. I guess clang on Linux makes more sense than on Windows, I'll have to get back to that. I was part way through Netbeans integration under Open Suse a while back but never quite got it working. Time to go back and try again with an updated clang a simplified sample project I think. :)

                    "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                    1 Reply Last reply
                    0
                    • M Matthew Faithfull

                      I'm interested to know what the range and popularity of different C++ compilers and linked IDEs is amongst my fellow CPians. My guess is that there are really good stats for this buried away somewhere in Bob's sock draw from numerous surveys over the past few years. It would be nice if someone could dig them out and collate them ;P I'm especially interested to see what the range of Visual Studio versions used looks like given the large number of variants now in circulation and whether there's any uptake of Clang given that it seems to struggle to produce Windows binaries. An article on portability between compilers will follow eventually if I can ever get it knocked into shape.

                      "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                      P Offline
                      P Offline
                      PIEBALDconsult
                      wrote on last edited by
                      #16

                      I used to do C. I don't use C++ beyond dabbling and not with an IDE. I occasionally compile C/C++ at the command line under Windows with Borland's or Microsoft's compilers and maybe MINGW's (I use their pre-processor for some tasks with C#). I no longer even have Turbo C/C++. And you might be interested in Quincy http://www.codecutter.net/tools/quincy/[^] I could also compile with HP's C or C++ on OpenVMS if that might be of use to you.

                      1 Reply Last reply
                      0
                      • M Matthew Faithfull

                        I'm interested to know what the range and popularity of different C++ compilers and linked IDEs is amongst my fellow CPians. My guess is that there are really good stats for this buried away somewhere in Bob's sock draw from numerous surveys over the past few years. It would be nice if someone could dig them out and collate them ;P I'm especially interested to see what the range of Visual Studio versions used looks like given the large number of variants now in circulation and whether there's any uptake of Clang given that it seems to struggle to produce Windows binaries. An article on portability between compilers will follow eventually if I can ever get it knocked into shape.

                        "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                        S Offline
                        S Offline
                        Shao Voon Wong
                        wrote on last edited by
                        #17

                        I use Visual C++ 10/11 (Windows), GCC 4.6/4.7 (Linux) and Clang 3.2 (Linux and Mac OSX). My next C++ compiler to dabble is Intel (Linux). Anyone looking to write cross-platform C++ code, I'll say good luck to you!

                        1 Reply Last reply
                        0
                        • M Matthew Faithfull

                          I'm interested to know what the range and popularity of different C++ compilers and linked IDEs is amongst my fellow CPians. My guess is that there are really good stats for this buried away somewhere in Bob's sock draw from numerous surveys over the past few years. It would be nice if someone could dig them out and collate them ;P I'm especially interested to see what the range of Visual Studio versions used looks like given the large number of variants now in circulation and whether there's any uptake of Clang given that it seems to struggle to produce Windows binaries. An article on portability between compilers will follow eventually if I can ever get it knocked into shape.

                          "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                          A Offline
                          A Offline
                          Anna Jayne Metcalfe
                          wrote on last edited by
                          #18

                          We're using VS2008 for our product (Visual Lint, ResOrg and LintProject Pro) development, but we're now starting to look at moving to VS2012 - mainly because it's time we started moving to C++ 11. If we have issues with the VS2012 compiler or IDE the Intel C++ compiler is another option on the table. Cross platform development is (unsurprisingly) Eclipse with GCC. I can't remember the version offhand - cross platform ports are Beth's department.

                          Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                          1 Reply Last reply
                          0
                          • M Matthew Faithfull

                            I'm interested to know what the range and popularity of different C++ compilers and linked IDEs is amongst my fellow CPians. My guess is that there are really good stats for this buried away somewhere in Bob's sock draw from numerous surveys over the past few years. It would be nice if someone could dig them out and collate them ;P I'm especially interested to see what the range of Visual Studio versions used looks like given the large number of variants now in circulation and whether there's any uptake of Clang given that it seems to struggle to produce Windows binaries. An article on portability between compilers will follow eventually if I can ever get it knocked into shape.

                            "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                            M Offline
                            M Offline
                            Mike Winiberg
                            wrote on last edited by
                            #19

                            As always, there's no simple answer: Not using C/C++ at the moment on any project, but... My largest project ever was built starting with Borland C++ release 4 on Windows, moved to GNU g++ on Linux (starting at Version 1, ending at version 3, it took so long!) - this was an airline and shipping reservation system. My longest standing code, still in use today after well over 20 years, was in C, using MSC 5.00 (long before Visual Studio was a twinkle in BG's eye, and a mote in the eyes of the rest of us!) The last C++ project I developed (about two years ago) was in Visual Studio 2008. At the moment, everything I'm doing is either in Java or Visual Basic for Applications (!), but - should I have any C or C++ work to do then it would be in NetBeans with GNU C++ for preference, or Visual Studio 2008 if forced to use Windows specific tools... Not much help really, sorry 8) Mike

                            M 1 Reply Last reply
                            0
                            • M Mike Winiberg

                              As always, there's no simple answer: Not using C/C++ at the moment on any project, but... My largest project ever was built starting with Borland C++ release 4 on Windows, moved to GNU g++ on Linux (starting at Version 1, ending at version 3, it took so long!) - this was an airline and shipping reservation system. My longest standing code, still in use today after well over 20 years, was in C, using MSC 5.00 (long before Visual Studio was a twinkle in BG's eye, and a mote in the eyes of the rest of us!) The last C++ project I developed (about two years ago) was in Visual Studio 2008. At the moment, everything I'm doing is either in Java or Visual Basic for Applications (!), but - should I have any C or C++ work to do then it would be in NetBeans with GNU C++ for preference, or Visual Studio 2008 if forced to use Windows specific tools... Not much help really, sorry 8) Mike

                              M Offline
                              M Offline
                              Matthys Terblanche
                              wrote on last edited by
                              #20

                              I'm using Embarcadero Rad Studio 2010 and XE3, XE3's support for ios and win8 development looks interesting, but since that will be my private projects in future, I can't comment on it yet. There IDE works the best for my Screen Reader (I'm blind), and it's probably also because I started out with Turbo Pascal in the late 80's, that I've moved on to turbo c++ when it emerged, since the environment was familiar. Stuck with Borland, changed to embarcadero since then. Did some VB.net work also, but not a lot. Where's the days?

                              M 1 Reply Last reply
                              0
                              • M Matthew Faithfull

                                I'm interested to know what the range and popularity of different C++ compilers and linked IDEs is amongst my fellow CPians. My guess is that there are really good stats for this buried away somewhere in Bob's sock draw from numerous surveys over the past few years. It would be nice if someone could dig them out and collate them ;P I'm especially interested to see what the range of Visual Studio versions used looks like given the large number of variants now in circulation and whether there's any uptake of Clang given that it seems to struggle to produce Windows binaries. An article on portability between compilers will follow eventually if I can ever get it knocked into shape.

                                "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                                N Offline
                                N Offline
                                NAANsoft
                                wrote on last edited by
                                #21

                                My selected few are (have known / are using): Rank 7/10: Visual Studio 2010 - using on job Rank 8/10: MetroWerk - have used on job Rank 7/10: MinGW gcc - using privately Rank 9/10: Borland C++ - have used privately (long time ago) Hope this is what you want Regards, Normann

                                1 Reply Last reply
                                0
                                • M Matthew Faithfull

                                  I'm interested to know what the range and popularity of different C++ compilers and linked IDEs is amongst my fellow CPians. My guess is that there are really good stats for this buried away somewhere in Bob's sock draw from numerous surveys over the past few years. It would be nice if someone could dig them out and collate them ;P I'm especially interested to see what the range of Visual Studio versions used looks like given the large number of variants now in circulation and whether there's any uptake of Clang given that it seems to struggle to produce Windows binaries. An article on portability between compilers will follow eventually if I can ever get it knocked into shape.

                                  "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                                  R Offline
                                  R Offline
                                  Rob Grainger
                                  wrote on last edited by
                                  #22

                                  I'd like to really emphasise CLang, as it seems to currently have the best support for C++ 11 features!

                                  M 1 Reply Last reply
                                  0
                                  • M Matthys Terblanche

                                    I'm using Embarcadero Rad Studio 2010 and XE3, XE3's support for ios and win8 development looks interesting, but since that will be my private projects in future, I can't comment on it yet. There IDE works the best for my Screen Reader (I'm blind), and it's probably also because I started out with Turbo Pascal in the late 80's, that I've moved on to turbo c++ when it emerged, since the environment was familiar. Stuck with Borland, changed to embarcadero since then. Did some VB.net work also, but not a lot. Where's the days?

                                    M Offline
                                    M Offline
                                    Matthew Faithfull
                                    wrote on last edited by
                                    #23

                                    Thank you, that's fascinating. I've only recently started using Rad Studio 2010 and XE3. I have to say that for a sighted person it's a confusing mess so I'm doubly impressed that anyone can use it blind. Overall Borland compilers seem to be the ones most people who've replied are using after Visual Studio and GCC. If you know or discover how to set the details of the C++ linker command line then please do email me. I asked about this in the programming forums and nobody had a clue. a solution would enable me to put XE3 back on my list of environments to support. email:mfaithfull@btopenworld.com

                                    "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                                    1 Reply Last reply
                                    0
                                    • R Rob Grainger

                                      I'd like to really emphasise CLang, as it seems to currently have the best support for C++ 11 features!

                                      M Offline
                                      M Offline
                                      Matthew Faithfull
                                      wrote on last edited by
                                      #24

                                      I'd really like to use it but after 3 attempts to get it to build a simple .exe plus one static lib project on Windows I'm at a loss. While the front end C++11 support is wonderful and the error messages are a delight compared with VC or GCC the linking stage is still medieval sourcery as far as I can see. :( I'll run up a Linux VM at some point and give it a go where it's reputed to work much better. I nearly had it up and running from the Netbeans IDE under OpenSuse but that got interrupted and I haven't got back to it yet.

                                      "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                                      1 Reply Last reply
                                      0
                                      • M Matthew Faithfull

                                        I'm interested to know what the range and popularity of different C++ compilers and linked IDEs is amongst my fellow CPians. My guess is that there are really good stats for this buried away somewhere in Bob's sock draw from numerous surveys over the past few years. It would be nice if someone could dig them out and collate them ;P I'm especially interested to see what the range of Visual Studio versions used looks like given the large number of variants now in circulation and whether there's any uptake of Clang given that it seems to struggle to produce Windows binaries. An article on portability between compilers will follow eventually if I can ever get it knocked into shape.

                                        "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                                        N Offline
                                        N Offline
                                        Niels Holst
                                        wrote on last edited by
                                        #25

                                        I am using Qt Creator as an IDE with gcc toolkit running underneath, both on Windows and Linux Ubuntu. Will continue with same tools on Mac OS soon. I use this for the UniSim open-source project http://www.ecolmod.org/[^] maintained at GitHub.

                                        Niels Holst, Aarhus University, Denmark

                                        M 1 Reply Last reply
                                        0
                                        • M Matthew Faithfull

                                          I'm interested to know what the range and popularity of different C++ compilers and linked IDEs is amongst my fellow CPians. My guess is that there are really good stats for this buried away somewhere in Bob's sock draw from numerous surveys over the past few years. It would be nice if someone could dig them out and collate them ;P I'm especially interested to see what the range of Visual Studio versions used looks like given the large number of variants now in circulation and whether there's any uptake of Clang given that it seems to struggle to produce Windows binaries. An article on portability between compilers will follow eventually if I can ever get it knocked into shape.

                                          "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                                          P Offline
                                          P Offline
                                          pgroover
                                          wrote on last edited by
                                          #26

                                          MSVC mostly here although I have used gcc quite a bit at times in the past, unfortunately not recently. I had installed Borland quite a few years ago (very many actually), but never really gave it a fair shot, so I can't really comment on it. There was some small command line compiler for DOS (yup, I said it) I had used in the late 80's/early 90's, but the name escapes me. It was fast and efficient, but I don't believe it could have been used for anything other than small projects. VS 6 VS 2000 VS 2003 VS 2008 (Current for "paid" job) :) VS 2010 (Home) VS 2012 (Express & Beta) (Home) Qt Creator Linux: vi KDevelop Qt Creator Hope this helps.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups