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++0x User Tux0r's Avatar
    Join Date
    Nov 2008
    Location
    Sweden
    Posts
    133
    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
    I like squirrels

  3. #3
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Posts
    5,439
    >> 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:
    int main(void){srand(time(0));for(double l=rand(),l0=0,l00=0;;l0+=0.1){for(double l000=0;l000
    <1;l000+=.001,l+=((double)rand()/RAND_MAX)/0x64,l00+=((sin(l*0x8*atan(l0)*l000-(l0*0x8*atan
    (l)))*0.5)+0.5)){l00-=floor(l00);for(size_t l0000=0,l00000=(size_t)(0x50*(l00));l0000<l00000;++l0000
    )putchar(0x20);putchar(0x61+(int)((double)rand()/RAND_MAX*0x1a));putchar('\n');}}return 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