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. Installing gcc

Installing gcc

Scheduled Pinned Locked Moved The Lounge
hardware
20 Posts 12 Posters 0 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.
  • R Rage

    That is what I meant with WinCG, sorry. :rolleyes: Installation is a PITA. I stopped after the fourth dialog of the installer asking me again which parts I wanted to install. X|

    ~RaGE();

    I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

    B Offline
    B Offline
    Brisingr Aerowing
    wrote on last edited by
    #8

    Go here[^], and download one of the archives from a subdirectory of the directory I linked to. Then just extract the archive and place it somewhere convenient. As a side note, if anyone using configure scripts reads this, I recommend Msys2[^] instead of Msys as the Unix-like environment.

    Getting information off the Internet is like taking a drink from a fire hydrant. - Mitchell Kapor

    1 Reply Last reply
    0
    • R Rage

      I needed to compile two files ( I am no software programmer - well not anymore ), and decided to install gcc as I have no compiler on my machine. Apparently, the "normal" way to do it is to download the source, and ... compile it. :doh: Well, thank you. The binaries are also available, but in Cygwin or WinCG packages, and I do not want to go through the process of installing all these just for these two files. Actually, I need to find the list of global variables used in these files (it is embedded C code), and the quickest way I know to do that is to compile the code as single files and look at the errors.

      ~RaGE();

      I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

      A Offline
      A Offline
      Albert Holguin
      wrote on last edited by
      #9

      Cygwin is not that big of deal to install... and once it's on there.. you have a nifty little Linux like terminal that you can do just about anything that you can do in Linux from (including using gcc). Edit: Oh yeah, forgot to mention a lot of programs use cygwin in the background and install it without asking (probably unless you bother to look through the installation files).

      1 Reply Last reply
      0
      • R Rage

        CPallini wrote:

        I cannot believe you haven't a Linux box.

        What for ? I am no developer, but a system engineer.

        CPallini wrote:

        No virtual machines?

        Not allowed at work. "Too dangerous" (c) IT guys. I kid you not.

        CPallini wrote:

        By the way, why did you choose gcc?

        I worked with it a long time ago, and did not think that there could be others. Thanks !

        ~RaGE();

        I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

        D Offline
        D Offline
        Dan Neely
        wrote on last edited by
        #10

        Rage wrote:

        Not allowed at work. "Too dangerous" (c) IT guys. I kid you not.

        "(c)" is short for cretinous?

        Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

        1 Reply Last reply
        0
        • C CPallini

          True. However I suspect he does not need the 'esoteric' C99 features.

          Veni, vidi, vici.

          D Offline
          D Offline
          Dan Neely
          wrote on last edited by
          #11

          How esoteric are they? The ranting I've seen over the years implied that most major C projects would break in the MS compiler because C99 included some enhancements to the language that were useful enough that almost anyone who didn't make a point of supporting the MS compiler would use.

          Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

          C 1 Reply Last reply
          0
          • R Rage

            CPallini wrote:

            I cannot believe you haven't a Linux box.

            What for ? I am no developer, but a system engineer.

            CPallini wrote:

            No virtual machines?

            Not allowed at work. "Too dangerous" (c) IT guys. I kid you not.

            CPallini wrote:

            By the way, why did you choose gcc?

            I worked with it a long time ago, and did not think that there could be others. Thanks !

            ~RaGE();

            I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

            B Offline
            B Offline
            Brisingr Aerowing
            wrote on last edited by
            #12

            Rage wrote:

            Not allowed at work. "Too dangerous" (c) IT guys. I kid you not.

            :wtf: I think that should be IIT -> Idiots in Information Technology!

            Getting information off the Internet is like taking a drink from a fire hydrant. - Mitchell Kapor

            1 Reply Last reply
            0
            • D Dan Neely

              How esoteric are they? The ranting I've seen over the years implied that most major C projects would break in the MS compiler because C99 included some enhancements to the language that were useful enough that almost anyone who didn't make a point of supporting the MS compiler would use.

              Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

              C Offline
              C Offline
              CPallini
              wrote on last edited by
              #13

              Dan Neely wrote:

              How esoteric are they?

              To the extent that, a quarter of century since it was produced, according to this Wikipedia page: C99[^] 5 compilers 'fully' support it (GCC 'partially'). I see your point, however, Microsoft 'partial' implementation of C99 never hurt me too much (variable declaration at start of the block was the major inconvenience).

              Veni, vidi, vici.

              1 Reply Last reply
              0
              • R Rage

                I needed to compile two files ( I am no software programmer - well not anymore ), and decided to install gcc as I have no compiler on my machine. Apparently, the "normal" way to do it is to download the source, and ... compile it. :doh: Well, thank you. The binaries are also available, but in Cygwin or WinCG packages, and I do not want to go through the process of installing all these just for these two files. Actually, I need to find the list of global variables used in these files (it is embedded C code), and the quickest way I know to do that is to compile the code as single files and look at the errors.

                ~RaGE();

                I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

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

                I mostly use Borland's : http://www.embarcadero.com/products/cbuilder/free-compiler[^] I also use the pre-processor from MinGW, which I got by installing Quincy : http://www.codecutter.net/tools/quincy/[^] But at work I use Microsoft's because it installed with Visual Studio and I don't feel like installing anything else.

                1 Reply Last reply
                0
                • R Rage

                  I needed to compile two files ( I am no software programmer - well not anymore ), and decided to install gcc as I have no compiler on my machine. Apparently, the "normal" way to do it is to download the source, and ... compile it. :doh: Well, thank you. The binaries are also available, but in Cygwin or WinCG packages, and I do not want to go through the process of installing all these just for these two files. Actually, I need to find the list of global variables used in these files (it is embedded C code), and the quickest way I know to do that is to compile the code as single files and look at the errors.

                  ~RaGE();

                  I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

                  R Offline
                  R Offline
                  R Erasmus
                  wrote on last edited by
                  #15

                  If you download Cygwin, select packages: 1. Devel (which stands for development) 2. Shells I'm thinking that this would be enough... Setup you're environment variables of you pc accordingly... If you don't know what that is, google it.

                  "Program testing can be used to show the presence of bugs, but never to show their absence." << please vote!! >>

                  1 Reply Last reply
                  0
                  • R Rage

                    That is what I meant with WinCG, sorry. :rolleyes: Installation is a PITA. I stopped after the fourth dialog of the installer asking me again which parts I wanted to install. X|

                    ~RaGE();

                    I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

                    P Offline
                    P Offline
                    Peter Adam
                    wrote on last edited by
                    #16

                    Welcome to Open Source Install Experience. Next step to Hell is drink the Kool-Aid and try to install a current server software on an older Linux distro in order to "give a new life to an old hardware".

                    1 Reply Last reply
                    0
                    • R Rage

                      I needed to compile two files ( I am no software programmer - well not anymore ), and decided to install gcc as I have no compiler on my machine. Apparently, the "normal" way to do it is to download the source, and ... compile it. :doh: Well, thank you. The binaries are also available, but in Cygwin or WinCG packages, and I do not want to go through the process of installing all these just for these two files. Actually, I need to find the list of global variables used in these files (it is embedded C code), and the quickest way I know to do that is to compile the code as single files and look at the errors.

                      ~RaGE();

                      I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

                      D Offline
                      D Offline
                      dazfuller
                      wrote on last edited by
                      #17

                      If you're on a Windows machine then have a look at using the graphical or command line installers for MinGW, really can't get easier http://www.mingw.org/wiki/Getting_Started[^] Well, actually it could get easier if you have chocolatey installed as there's a MinGW package available http://chocolatey.org/packages/mingw[^]

                      Eagles may soar, but weasels don't get sucked into jet engines

                      1 Reply Last reply
                      0
                      • R Rage

                        I needed to compile two files ( I am no software programmer - well not anymore ), and decided to install gcc as I have no compiler on my machine. Apparently, the "normal" way to do it is to download the source, and ... compile it. :doh: Well, thank you. The binaries are also available, but in Cygwin or WinCG packages, and I do not want to go through the process of installing all these just for these two files. Actually, I need to find the list of global variables used in these files (it is embedded C code), and the quickest way I know to do that is to compile the code as single files and look at the errors.

                        ~RaGE();

                        I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

                        D Offline
                        D Offline
                        dnaugler
                        wrote on last edited by
                        #18

                        At www.nuwen.org there is a nice (and current) distro for mingw's gcc 4.8.1 which includes boost. you download one file and install it in a directory (does not use registry).

                        1 Reply Last reply
                        0
                        • R Rage

                          I needed to compile two files ( I am no software programmer - well not anymore ), and decided to install gcc as I have no compiler on my machine. Apparently, the "normal" way to do it is to download the source, and ... compile it. :doh: Well, thank you. The binaries are also available, but in Cygwin or WinCG packages, and I do not want to go through the process of installing all these just for these two files. Actually, I need to find the list of global variables used in these files (it is embedded C code), and the quickest way I know to do that is to compile the code as single files and look at the errors.

                          ~RaGE();

                          I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

                          M Offline
                          M Offline
                          Member 10175290
                          wrote on last edited by
                          #19

                          Orwell Dev-CPP would be one possibility[^]- a rather venerable IDE for GCC-based development on windows, comes with a compiler packaged into the install. Also has standalone compiler packages available for download.

                          1 Reply Last reply
                          0
                          • R Rage

                            I needed to compile two files ( I am no software programmer - well not anymore ), and decided to install gcc as I have no compiler on my machine. Apparently, the "normal" way to do it is to download the source, and ... compile it. :doh: Well, thank you. The binaries are also available, but in Cygwin or WinCG packages, and I do not want to go through the process of installing all these just for these two files. Actually, I need to find the list of global variables used in these files (it is embedded C code), and the quickest way I know to do that is to compile the code as single files and look at the errors.

                            ~RaGE();

                            I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

                            V Offline
                            V Offline
                            vtrump
                            wrote on last edited by
                            #20

                            For purpose of compiling few files online compiler should serve you well Example:http://www.compileonline.com/compile_c_online.php[^]

                            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