public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Jose Isaias Cabrera <jicman@outlook.com>
To: Csaba Raduly <rcsaba@gmail.com>, cygwin list <cygwin@cygwin.com>
Subject: Re: How to install gcc and g++ 6 on cygwin which are not on the setup.exe
Date: Mon, 20 May 2019 14:56:00 -0000	[thread overview]
Message-ID: <DB7PR01MB5386B2F7AB85512755924FC2DE060@DB7PR01MB5386.eurprd01.prod.exchangelabs.com> (raw)
In-Reply-To: <CAEhDDbDVbBBHfnrskx2Bne6FyQEH4vDyb4VMMAYXcnacOzkGeQ@mail.gmail.com>


Csaba Raduly, on Sunday, May 19, 2019 04:37 AM, wrote...
>On Sun, May 19, 2019 at 4:57 AM Jack  wrote:
>>
>> On 5/18/19 9:24 PM, Jose Isaias Cabrera wrote:
>> > How do I uninstall the installation that I created with the building of gcc6? I did a search on duckduckgo for,
>> >
>> > cygwin how to uninstall gcc after building it
>> >
>> > and found nothing that could help me.  Right now I have two installs of gcc: v7.4.and v6.4.0.
>
>That is not necessarily a problem. "Hand-built" GCC usually gets
>installed into /usr/local (so g++-6 is /usr/local/bin/g++), whereas
>the built-in GCC is installed into /usr (so the default GCC 7.4 is
>/usr/bin/g++). Unfortunately, whether one or the other is picked
>depends on your PATH.
>
>I tend to configure my hand-built GCC with --program-suffix= (e.g. GCC
>6 with --program-suffix=-6, so the name of the compiler ends up being
>g++-6).
Good to know for the next one. :-(  I should have used this on my run of configure. It would have matched what Bedrockdb make was calling.

>Unfortunately, gcc doesn't support "make uninstall". A workaround is
>to make a fake install with "make install DESTDIR=/tmp/usr/local" and
>then make a list of all the files under that directory, remove the
>"/tmp" and delete the files based on the list, something like

I started from scratch. I had a nice cygwin setup with Xfce, which I have to go back and set it back up.  But, that's easier because I know what I am doing here. ;-)  Thanks for all your help.

josé

--
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

  reply	other threads:[~2019-05-20 14:56 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-15 20:58 Jose Isaias Cabrera
2019-05-16  7:36 ` Csaba Raduly
2019-05-16 16:47   ` Jose Isaias Cabrera
2019-05-16 21:47     ` Csaba Ráduly
2019-05-17  3:28       ` Jose Isaias Cabrera
2019-05-17 13:16         ` Eliot Moss
2019-05-17 15:21           ` Jose Isaias Cabrera
2019-05-18  3:18             ` Jose Isaias Cabrera
2019-05-18  5:14               ` Brian Inglis
2019-05-18  6:50                 ` Csaba Raduly
2019-05-18 12:19                   ` Jose Isaias Cabrera
2019-05-18 15:54                     ` Ken Brown
2019-05-18 20:15                       ` Csaba Raduly
2019-05-18 23:15                       ` Jose Isaias Cabrera
2019-05-19  1:24                         ` Jose Isaias Cabrera
2019-05-19  2:57                           ` Jack
2019-05-19  8:37                             ` Csaba Raduly
2019-05-20 14:56                               ` Jose Isaias Cabrera [this message]
2019-05-18 12:16                 ` Jose Isaias Cabrera
2019-05-18 12:01               ` Jose Isaias Cabrera
2019-05-18  5:13 ` Doug Henderson
2019-05-18 12:14   ` Jose Isaias Cabrera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DB7PR01MB5386B2F7AB85512755924FC2DE060@DB7PR01MB5386.eurprd01.prod.exchangelabs.com \
    --to=jicman@outlook.com \
    --cc=cygwin@cygwin.com \
    --cc=rcsaba@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).