From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75200 invoked by alias); 16 Mar 2018 16:45:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 75035 invoked by uid 89); 16 Mar 2018 16:45:35 -0000 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 Received: from mail-wr0-f182.google.com (HELO mail-wr0-f182.google.com) (209.85.128.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 16 Mar 2018 16:45:21 +0000 Received: by mail-wr0-f182.google.com with SMTP id n12so12377877wra.2 for ; Fri, 16 Mar 2018 09:45:08 -0700 (PDT) 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) Received: from ?IPv6:2a02:c7f:7e7e:7400:91c1:7382:d789:3c06? ([2a02:c7f:7e7e:7400:91c1:7382:d789:3c06]) by smtp.gmail.com with ESMTPSA id a185sm2474147wmf.1.2018.03.16.09.45.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Mar 2018 09:45:06 -0700 (PDT) To: cygwin@cygwin.com From: Tim Clarke 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 17:45:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-03/txt/msg00233.txt.bz2 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