how to install gnu C compiler for Windows?

This is a discussion on how to install gnu C compiler for Windows? within the C Programming forums, part of the General Programming Boards category; I easily installed the gcc compiler on Solaris by running the tar xvf command. All files got uncompressed, and I ...

  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    17

    how to install gnu C compiler for Windows?

    I easily installed the gcc compiler on Solaris by running the tar xvf command. All files got uncompressed, and I can then use the compiler because gcc got installed on Solaris.

    I tried to do the same on Windows, and it's not as simple. I must be doing something wrong.

    I simply want to download the gnu C compiler to my Windows PC, and run an "install" to install it, and then, use the gcc compiler.

    What site do I need to go to do this? If there are instructions to properly install it, please post. Thank you.

  2. #2
    C++11 User Tux0r's Avatar
    Join Date
    Nov 2008
    Location
    Sweden
    Posts
    135
    Quote Originally Posted by Amy N. View Post
    What site do I need to go to do this? If there are instructions to properly install it, please post. Thank you.
    Here you go and you are welcome
    Fortran, C, C++ for Windows

  3. #3
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,699
    >> What site do I need to go to do this? If there are instructions to properly install it, please post. Thank you.

    As far as I know, you just need to unzip the files, add the bin directory to your path and start compiling. What package are you using - mingw, cygwin?
    Code:
    bool fun(bool value)
    {
        return std::pow(std::exp(1), std::complex<float>(0, 1) 
        * std::complex<float>(std::atan(1)*(1 << (value + 2))))
        .real() > 0;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 09:13 AM
  2. Which Compiler?
    By Bladactania in forum C Programming
    Replies: 10
    Last Post: 02-11-2009, 12:32 AM
  3. [resolved] internal compiler error...
    By bling in forum C++ Programming
    Replies: 2
    Last Post: 12-10-2008, 11:57 AM
  4. Compiler not Functioning
    By John Stefanski in forum C Programming
    Replies: 3
    Last Post: 05-09-2008, 11:36 PM
  5. Compiler Design... Anyone That Can Help!
    By ComputerNerd888 in forum C++ Programming
    Replies: 3
    Last Post: 09-27-2003, 09:48 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21