Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22248

Unable to install latest GCC on Windows

$
0
0

I am trying to install GCC on my local system.

I am referring this

I have successfully completed the following steps:

  1. Install Cygwin
  2. 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
    
  3. 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.


Viewing all articles
Browse latest Browse all 22248

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>