My problem is that how do you build/update Cygwin's GCC? Sorry, but I do not excel at these types of subjects. I also have git on cygwin too (not very obsolete, but off by a release).
chmod u x update # And make sure /usr/local/bin is in your .bashrc path variable, or add it like so: PATH="$PATH:/usr/local/bin" export PATH Alternately, there is a command line installer, much like Debian’s apt-get, called apt-cyg, which has now moved off Google Code, onto Github.If you want all in one, check out Eclipse C or Net Beans C . Actually, it's the same way you _install cygwin_ ..Check that you have following packages under Cygwin.If something is missing or outdated, download it using the utility from the Cygwin site ( Package Version Status bash 4.1.10-4 OK binutils 2.20.51-2 OK bzip2 1.0.6-1 OK cygwin 1.7.9-1 OK gcc-core 3.4.4-999 OK gcc-g 3.4.4-999 OK gzip 1.4-1 OK m4 1.4.16-1 OK make 3.81-2 OK unzip 6.0-10 OK zip 3.0-11 OK First, create a workspace directory to build in (e.g., mkdir /usr/local/contrib).It allows you to install or remove new packages from the command line, which is neat, but it’s one fatal flaw is that it doesn’t have a command which allows you to scan the installed packages for available updates, so it won’t remove your need to use the original setup program.
____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows.
This is where you'll extract and work with each GCC-related package, including GCC itself.
Gather the GCC prerequisite packages: export LD_LIBRARY_PATH=/usr/local/lib # Depending on system, LIBRARY_PATH shall not be set - # export LIBRARY_PATH= export LIBRARY_PATH=/usr/local/lib export CPATH=/usr/local/include export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS setenv LD_LIBRARY_PATH /usr/local/lib setenv LIBRARY_PATH /usr/local/lib setenv CPATH /usr/local/include setenv PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS These settings should also should be included into your .bash_profile or .profile (if you use bash) or .cshrc / .tcshrc (if you use csh/tcsh).
If you want to use new GCC by default, make sure that your path contains /usr/local/bin before /bin and /usr/bin You may view your path using echo; gcc --version; echo; g --version; gcc (GCC) 4.6.0 Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
In order to get updates, and install or remove software, you need to run the installer again.