delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/06/17/12:31:58

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:from:to:cc:subject:date:message-id
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=r2jeS5EKYBLnbFl2j/o8XvQnC6YsqkdTx6/Ne7YWsYRdhSqBeJY3T
ImTW17Ecx6nNzz9t8RTSHZaEX4hSEsOxQraXRVuDPwGYpGR/gFqbE5jVXUp4tpJ6
y1DL/H/yshifNjrSG8kfWRkkbik7GKW6KM/LJzN6B2L/OXBVTF5Enw=
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:from:to:cc:subject:date:message-id
:mime-version:content-type:content-transfer-encoding; s=default;
bh=WfHa2X7UtcDJEO/pqW0fwEK0Lug=; b=c6wDuPSZcoM+kvdpVriv/ShPNtT0
Gfpj82IkODAi715rZvV4NkQhppPRr3c97+xcy4nu6mOI89EYG1Zw+MQTOV6DEKSV
EVUsA/VfSBFbYr/EdUXxClOj+FxjjAZIkUzVGiOvRm5wwQZqmpcrhS9skpC11D9P
q8sZYtxIPUCXpHU=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_20,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: nm12-vm4.access.bullet.mail.gq1.yahoo.com
X-Yahoo-SMTP: 0z5TJLmswBDohOc2QznCIeoaEiEalQiTSMLFNdKdTt4t
X-Rocket-Received: from 2600kPC (aschwarz1309 AT 75 DOT 22 DOT 33 DOT 254 with plain [67.195.15.5]) by smtp118.sbc.mail.gq1.yahoo.com with SMTP; 17 Jun 2014 16:31:38 +0000 UTC
From: "Arthur Schwarz" <aschwarz1309 AT att DOT net>
To: <cygwin AT cygwin DOT com>
Cc: <rcsaba AT gmail DOT com>
Subject: Re: Question on gcc install
Date: Tue, 17 Jun 2014 09:31:31 -0700
Message-ID: <124B6026BBED4E07BA053A1477FEC570@2600kPC>
MIME-Version: 1.0

Win7
gcc 4.8.3
Netbeans 7.4

Hi Csaba;

I used setup.exe.

The issue and confusion arise because I am using the Netbeans IDE, and
Netbeans requires explicit reference to the gcc, g++, fortran compilers and
assembler being used. I am running into difficulties.

1: mingw fails to link correctly. Hundreds if not thousands of linker
errors.
2: the gcc -m32 option fails (cross-posted to gcc.gnu.org).
3: The relationship between executables and directories is not understood.
4: The pairing of executables is not well understood, especially those with
version numbers on them.

For point (4) there are executables with appended version numbers for gcc
but there are no similarly appended version numbers to g++ and fortran. My
guess is that the version numbers specify the supported version for the
prefixed executables (see below).
	i686-pc-cygwin-gcc-4.8.2.exe
	i686-pc-mingw32-gcc-4.7.3.exe
	i686-w64-mingw32-gcc-4.8.2.exe
	x86_64-pc-cygwin-gcc-4.8.3.exe
	x86_64-w64-mingw32-gcc-4.8.2.exe

In a much similar fashion I don't understand the relationship between the
different gcc/g++/fortran/as prefixes, and I don't know what documents
identify usages. Are they gcc or cygwin documents. 
	i686-pc-cygwin
	i686-pc-mingw32
	i686-w64-mingw32
	x86_64-pc-cygwin
	x86_64-w64-mingw32

The directory structures point (3) are completely mystifying. I can
understand the /usr/lib/gcc directories but am completely mystified by the
/usr directories.

	/usr/					/usr/lib/gcc
		i686-pc-cygwin				i686-pc-cygwin
		i686-pc-mingw32				i686-pc-mingw32
		i686-w64-mingw32
i686-w64-mingw32
		x86_64-w64-mingw32			x86_64-pc-cygwin
	
x86_64-w64-mingw32

For one, there seems to be too few /usr/ directories in comparison to the
prefixes. For another, only one of the directories contain support for gcc
vrs. 4.8.3 (x86_64-pc-cygwin). The remainder of the support is mostly for
gcc vrs. 4.8.2. So whatever the directories do, their support is
inconsistent, i.e., they all don't support the downloaded gcc version
(4.8.3) and their support is not consistent for gcc vrs. 4.8.2. 

	/usr/lib/gcc/
		i686-pc-cygwin		4.8.2
		i686-pc-mingw32		4.7.3
		i686-w64-mingw32		4.8.2
		x86_64-pc-cygwin		4.8.3
		x86_64-w64-mingw32	4.8.2

So I don't know how to setup Netbeans and I don't know what I have. I
downloaded gcc 4.8.3 and I seem to have only 1 of 5 systems with 4.8.3, the
rest being 4.8.2 or 4.7.3. I don't understand the difference between, e.g.,
x86_64-pc-cygwin-gcc.exe and x86_64-pc-cygwin-gcc-4.8.3.exe. My guess is
that there is no difference between the versioned and unversioned
executables and that the gcc vrs. 4.8.3 downloads only included the
x86_64-pc-cygwin compiler. And of course, the gcc.exe file, the
x86_64-pc-cygwin-gcc.exe, and the x86_64-pc-cygwin-gcc-4.8.3.exe would all
be the same if my guesses are correct.

In any case, anything you can do to clarify would be appreciated (include
the statement, "read to --- book").
art


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