G++ and Cygwin

This is a discussion on G++ and Cygwin within the C++ Programming forums, part of the General Programming Boards category; Hey everyone, I downloaded and now have Cygwin on my windows xp computer, but when I try to compile a ...

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    215

    G++ and Cygwin

    Hey everyone, I downloaded and now have Cygwin on my windows xp computer, but when I try to compile a program with G++, it says that command does not exist. Is G++/GCC included with Cygwin?

  2. #2
    Registered User
    Join Date
    Aug 2002
    Location
    Hermosa Beach, CA
    Posts
    446
    I don't know if gcc/g++ ships with Cygwin, but just as a suggestion have you checked that g++ is in the PATH? This might be why windows is not finding the compiler.
    The crows maintain that a single crow could destroy the heavens. Doubtless this is so. But it proves nothing against the heavens, for the heavens signify simply: the impossibility of crows.

  3. #3
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    G++ does ship with CygWin, but IIRC it's not included in the default package, so you have to select it manually during installation.

  4. #4
    Registered User
    Join Date
    May 2004
    Posts
    215
    How do i select it manually? What is it called, because im trying to reinstall and redownload it, but i cant find IIRC

  5. #5
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    IIRC means if I remember correctly. When you're selecting the packages to download and install, there's a "compilers" category. It's under there.

Popular pages Recent additions subscribe to a feed

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