delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/16/12:46:03

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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=gXL
V96t9Rh+4hslZ/L6+A8a4faZJRcTmvAf2Y48NGhkWfqSFK/ulcQ3x2dx4DSS4JOO
J1owNZ/6zt2scndqka3jkW/+cQKyAZ5DcitwCfg30T3iXZgB3D+XWxx/L+M5b3QN
iny1LwCFwKOvMb2oZolvY34raUSBaJaYt9hcsCiA=
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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=UyquAxCVL
xPFlQAQ6E9jrBek5PM=; b=OD0QJBEDwRQcASkGFhBvmqhBELZNcTogQE4V0JyP+
RWJmPv53IsoPvpBgI0jpBa0QdYBTfENOt52vCueQcP3xX3XUhd+jF+kxy7O2kOKS
k9VJl1EY+e6RdCQxhwxoL2MPT4whR3RNkch0MR5w37m3XiEVojLIeiCCVjiSzMGq
eU=
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=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=tower, Tower, england, England
X-HELO: mail-wr0-f182.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=Yw/40pMxTDcKfZ4QaHBvITpD/mmFNHc1ZEEDcxwhmZs=; b=ERGM3ulQxAUxS75kMymGDlaYstckShRs6XDDgaELsLKnRh82iduFcUWQZu6I1AX9mG +xJ8TUU+edN04UOQBSC9u6girDISplzkiW3+ZBKvX+KbMUwgbkjr4o9UwhM6U+UiEU6z OZ+scRIjDmAooPigkyYU56xOBItY+QbNK2libKOrZocksMPRxpLt0ZxdSgTtQhusvkhm e1M4ruIitiWtbG55aRack0pMub0atpw4tHhiOi3ulQICLxdu5H85GcSEB8s89WG8JPxC RqQ3b9Ekz+EqzavuIC6fB0b3KwUTbXcnmrdqRnvC67Ygi7oDlqFyKNNgvZiihnzOq1ds wBTw==
X-Gm-Message-State: AElRT7EkQ7artz3DcJfFAsQqTimesRCyJaRMjHu/nW7Rz8zH1VYEtk0W 0Ig69bdoCKinfPqwLWORC97qLA==
X-Google-Smtp-Source: AG47ELtURjqG8XT1EOBV5kDVyt+stHZKGcjcNBCIFJf80AD6skrSBR/Pvb8pMUTY4TRtv2svvB6BMQ==
X-Received: by 10.223.144.35 with SMTP id h32mr2370391wrh.2.1521218706652; Fri, 16 Mar 2018 09:45:06 -0700 (PDT)
To: cygwin AT cygwin DOT com
From: Tim Clarke <timclarke147 AT gmail DOT com>
Subject: gcc 32 bit compiler does not like files outside of c:\cygwin
Message-ID: <9cd3644d-4a84-3c80-c717-254b99125b02@gmail.com>
Date: Fri, 16 Mar 2018 16:45:11 +0000
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
X-IsSubscribed: yes

Sorry, posted this from my other non-regsitered email address!!

Following my previous post advising that the gcc 32 compiler was
exiting immediately (return code 1) without doing anything, I have
now established what is happening.
The behaviour exhibited is contrary to that exhibited by gcc 64 bit,
which works fine.

When entering the cygwin console and typing:
cd d:/c
the screen displays
/cydrive/d/c

gcc  sourcefile.c
does nothing and 'echo $?'  displays  1

However
cd /usr/src
gcc sourcefile.c   works  ok

So, it would appear that, for some reason, the 32bit compiler
falls over when accessing files outside of the main c:\cygwin
hierarchy !




-- 
Tim Clarke, IT Manager
Seacon Group Ltd
Registered in England, No.  4221248
Registered Office: Tower Wharf, Northfleet, Kent, DA11 9BD

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