delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/05/18/01:13:19

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type:content-transfer-encoding;
q=dns; s=default; b=vU0pVWnHMLX1UuMz7DJZul06fHiINZQemcVt7HStHxy
t1XJuZe+/rAVfX7268lq1N0CjmrARPR6W9/GzoVmYXY+WOk88bNh5ywC5lDfD75a
qyg8bgObaXfDnQWTjSv3qzfgBKbinCfYnzjnsjyRaiMb+lTPGjIOudj9mqpSwMWs
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:references:in-reply-to:from:date
:message-id:subject:to:content-type:content-transfer-encoding;
s=default; bh=k4FjqCzXbQJJYP2zCBKhFYIO50I=; b=fe5TbdU6NTUGibncv
jb2eOGvhHBqTuXf7ZY6nI2BuiJl9I/wo1rpNiju8Eanmscu04TyfRHWFgU/Yx4KN
toolD9l4fys2AWVr82xoPKJD6/JNm5V56hHjNQB2dchT94XzPZrHojIDWHw/L/Ke
+a25dvl9Kbo0NS3vG4jDjIQZpo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=press, 7.x, UD:7.x, 7x
X-HELO: mail-qk1-f172.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=TvxJ8t5sCPAS/xGCytlaoOFZEXUSYgAAxnLvnd9YuKY=; b=fT0NdyXNhPUPHj4Ww8jzGiwi+cNeWeks1/d2hzZLRpDJK0aqxdCm5WieKmwY7nWyZ1 j2Ji73pxhwciEMHW5LS+C0Qk3Po7dCBy6BvBk7WycAGHLwqH+seGbWdA0GXG0DjlMM9t WfLhS+iAk0wPciLBrNZj0BYeKLe4UTrZI1w1SDnW0PupXJ1u/kVcUagWe4hpBL4i46km Fp9p1Os4oh0vTR2B7PHsO+Nu+yuExVkKukrRe4byFln6UlMS14J2xE2IpQFx8d8gPWcU Y+iilFG0wuuUnAgMJ+AVnMsmKpk3S9y/H43s5eq/AJn+KdRyppLkKkt5xRAGzmTqAYLd MlNA==
MIME-Version: 1.0
References: <DB7PR01MB5386E5F177071EF6DCF66DE4DE090 AT DB7PR01MB5386 DOT eurprd01 DOT prod DOT exchangelabs DOT com>
In-Reply-To: <DB7PR01MB5386E5F177071EF6DCF66DE4DE090@DB7PR01MB5386.eurprd01.prod.exchangelabs.com>
From: Doug Henderson <djndnbvg AT gmail DOT com>
Date: Fri, 17 May 2019 23:12:53 -0600
Message-ID: <CAJ1FpuNMrwKY65SMFQ+Zv38WZyNW6SrMz53dYKPZ_Qs8GmCaRw@mail.gmail.com>
Subject: Re: How to install gcc and g++ 6 on cygwin which are not on the setup.exe
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x4I5DH7q006720

On Wed, 15 May 2019 at 14:58, Jose Isaias Cabrera <> wrote:

> Is there a way an easy way to install gcc-6 and g++-6 on cygwin?  I just uninstalled v7.4.x or whatever was on the setup.  I am trying to build a software and gcc 7.x and g++ 7.x is giving too many compiler errors.  I want to try 6 to see if these errors minimize or go away.  Thanks for the help.

You seem to be having some difficulty getting an older version of the
compiler running. Perhaps it might be useful to go back to the
beginning and see if there is an alternative solution.

What kind of compiler errors are you getting? Post the gcc command
line and a sample of the errors to see if anyone has suggestions for
resolving them in gcc7.x.

You can use the help option to get more information about a lot of topics.

 | --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...].
 |                          Display specific types of command line options.

You can use gcc options to determine which version of C the compiler
will compile. There are also options to control which warnings are
generated, and possibly turned into errors by a -Werror option.

Use the info command:

info gcc

and enter the info search command: (CR=press enter)

/-std=CR

to find the relavent section.

HTH
Doug

-- 
Doug Henderson, Calgary, Alberta, Canada - from gmail.com

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019