I am trying to install GCC on my local system.
I am referring this
I have successfully completed the following steps:
- Install Cygwin
Install Required Cygwin Packages
C:\cygwin64>setup-x86_64.exe -q -P wget -P gcc-g++ -P make -P diffutils -P libmpfr-devel -P libgmp-devel -P libmpc-devel
Download, Build and Install the Latest GCC
$ wget http://ftpmirror.gnu.org/gcc/gcc-9.2.0/gcc-9.2.0.tar.gz $ tar xf gcc-9.2.0.tar.gz $ mkdir build-gcc $ cd build-gcc
After this while configuring the gcc-9.2.0 using the below command I am facing the following error:
$ ../gcc-9.2.0/configure --enable-languages=c,c++ --disable-bootstrap --disable-shared
error:
configure: creating ./config.status
./config.status: line 470: syntax error near unexpected token `)'
./config.status: line 470: ` *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;'
Any solution for this or alternate website link for downloading latest gcc binaries for windows will be highly appreciated.