Menu

gcc.exe is gone?

Osito
2007-08-11
2012-09-26
  • Osito

    Osito - 2007-08-11

    I recently made the mistake of trying to upgrade my gcc stuff. I downloaded the packages from the gcc website, like gcc-core-4.2.1.tar.bz2 and gcc-g++-4.2.1.tar.bz2 and gcc-objc-4.2.1.tar.bz2, and Dev-C++ installed them and said everything went fine. Now "gcc.exe" doesn't even exist anywhere on my hard drive. Do I have any options other than installing Dev-C++ from scratch?

     
    • Wayne Keen

      Wayne Keen - 2007-08-11

      Given the current state of your installation, it would seem a clean uninstall / delete and
      reinstall is the way to go. It shouldn't take more than 20 minutes.

      Wayne

       
    • Wayne Keen

      Wayne Keen - 2007-08-11

      Out of curiosity:

      Where did you get the GCC stuff? 20-40, or the official site?

      What did you do to install it?

      When I was first learning where to put things in installs, I would generally
      start by putting the archives (like the one's you mentioned) into a test
      directory, so I could see where they wanted to go, and then do the

      bunzip2/tar -xvf dance. Once I saw where they were going, I could copy
      over into my existing directory structure.

      On a tangent:

      Here is something I do. On most of my machines I have a stand alone installation
      of MinGW, with MSYS pointed to it in c:\mingw. (I say stand alone with respect
      to Dev or any other MinGW IDE I have on the machine)

      I usually have several versions of MinGW on my machines, based on GCC 3.4.5, 4.1.2 and
      4.2.1, all with different names - like mingw345 etc.

      By changing names and moving the different versions into the c:\mingw, I can do the
      variety of things I need to do to test and develop at work.

      This is somewhat of a tangent, since I don't generally hook my Dev install up to these,
      but I could in principle.

      4.2.1 is cool for me by the way, as it allows me to use the Gnu OpenMP (GOMP) library
      to do some parallel processing development and testing. It has worked pretty well.

      Wayne

      p.s. I know I could accomplish the same thing as directory renaming within MSYS by
      playing with mount points - I just haven't gotten into doing it that way.

       
    • Soma

      Soma - 2007-08-11

      Wayne, I'm thinking, mostly certain as it happens, that he downloaded the source.

      Soma

       
      • Wayne Keen

        Wayne Keen - 2007-08-11

        My question about where he got GCC was in part aimed at determining that,
        though I do tend to assume that people are doing the same things that I am.

        Clearly, if Soma is correct, and the Original Poster just downloaded the
        source tarball, then there wouldn't be any exe files, as you would have
        to build (bootstrap) it yourself - a non-trivial, time consuming task.

        Wayne

         
      • Osito

        Osito - 2007-08-11

        Yeah I guess I did. I deleted everything and started over with 4.9.9.2 and everything is fine again.

         
        • Wayne Keen

          Wayne Keen - 2007-08-11

          I know a couple of places where you can get gcc-4.2.1 for MinGW. I even know a good location
          where you can get a full MinGW installation that has 4.1.2 (no that is not a dyslexic typo) as
          its basis, along with some other useful libraries.

          There is a certain "need to know something of what you are doing" quotient in doing this stuff,
          but it's really not that big, and if something goes wrong, you simply clean up and reinstall.

          I always have a certain trepidation in mentioning this stuff, as some users will try things,
          and end up posting stuff in here when they reach every little stumbling block, which can
          quickly get time consuming. This is not something you want to mess with if "you are on your
          own" is a troublesome proposition - But here goes:

          (1) Full MinGW Installation with GCC-4.1.2 - (I use this as my base MinGW install for most machines)

          http://nuwen.net/mingw.html

          (2) GCC-4.2.1 for MinGW (I have used this quite a bit lately for work)

          http://www.tdragon.net/recentgcc/

          (3) GCC-4.2.1 for MinGW (more official, I haven't done much with this one)

          https://sourceforge.net/project/showfiles.php?group_id=2435&package_id=241304

          (4) GCC-4.2 and 4.3

          http://www.thisiscool.com/gcc_mingw.htm

          Several of my machines have a combination of (1) and (2) - that has worked quite
          well for me with MSYS.

          Wayne

           
    • cp

      cp - 2007-08-11

      There is a DevPack of GCC 4.1.2 (gcc-4.1.2-2tld) on devpacks.org I installed 2 months ago and used sice then.
      It seems to work well.
      The only issue is that it places its files (binaries and C++ includes) in directories with names of the form
      ../mingw32/4.1.2/*
      and you have to manualy update the compiler options->directories.

      cp

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.