delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/16/16:47:24

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:date:message-id:from:reply-to:to:cc:subject
:references:in-reply-to:content-type; q=dns; s=default; b=DHtwp0
TERs2PsHRwPwKfGzroWb2QHWxLDKiJlAu0KTXpav8CW/BJl74r442YyDHDHIUPPN
8tffbybfVI203gsRBvpK3m4Tv7ygLJMAzV/gpliX1vgMQkbLFtZzqwiEJ9Z3EzbR
rofyyl0Zy4YH0hCfrKo/3NP65PV26o1zV2QjY=
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:date:message-id:from:reply-to:to:cc:subject
:references:in-reply-to:content-type; s=default; bh=n1dM4MGwfFKt
+as9t7hIEMATkBc=; b=r5r6XzcZdzJaS59CtaZXzjQqQPu/Euho+kFr2MqhaXk0
lEhlhh7mZi5CG7Q1xuno0vj0mApPK4fAe7zrEIVI/6g8up+E1g29soF90u+nWg79
3AG3e3SgNLliL4+kCLGhmPpSfS/IsTkr7dOXfOYVqYRRiVdNnHgzCkIZ9VzlytM=
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: =?ISO-8859-1?Q?No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=UD:sourcefile.c=c2, sourcefile.c, sourcefile.c=c2, exhibited?=
X-HELO: lb2-smtp-cloud7.xs4all.net
Date: Fri, 16 Mar 2018 21:47:08 +0100
Message-ID: <ddfc6cb1f046ba9f22f805e9df45d741@smtp-cloud7.xs4all.net>
From: Houder <houder AT xs4all DOT nl>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Cc: timclarke147 AT gmail DOT com
Subject: Re: gcc 32 bit compiler does not like files outside of c:\cygwin
References: <9cd3644d-4a84-3c80-c717-254b99125b02 AT gmail DOT com>
In-Reply-to: <9cd3644d-4a84-3c80-c717-254b99125b02@gmail.com>
User-Agent: mua.awk 0.99
X-CMAE-Envelope: MS4wfOwMK9uiUSwK31mACPpQeBi/aP0xuCWXLDa390QWGZl8lzg8NqEbOmt1sKpgLfsQ15Wp+J0yEQps81AZDuqhda4v+F61eKcglfhZXOBkbvWaOVyRQSn/ PvkOJqRDSUdG1JK15YbIU0dS3SW7U9NvRaev3MoFXIXB6UEqyX9Utqb3Wd+TM+Xgt0/pJGbdUBvEALg5LqTryNziAtXEbXpeT5nQegV60MoGh/J4evAjgAEU s7ueyw8MlnPaivBi0FbKoQ==

On Fri, 16 Mar 2018 16:45:11, Tim Clarke wrote:
> 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 !

Please, do not make us guess (what is wrong with your system).

    https://cygwin.com/problems.html

    "Run cygcheck -s -v -r > cygcheck.out and include that file as an attachment
    in your report. Please do not compress or otherwise encode the output. Just
    attach it as a straight text file so that it can be easily viewed."

@@ uname -a
CYGWIN_NT-6.1-WOW Seven 2.10.1(0.325/5/3)  i686 Cygwin

@@ gcc --version
gcc (GCC) 6.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

@@ cd d:/Abyss
@@ pwd
/drv/d/Abyss

@@ vi srcfil.c
@@ gcc srcfil.c
@@ ./a
Hello, world
@@ mount
E:/Cygwin/bin on /usr/bin type ntfs (binary,auto)
E:/Cygwin/lib on /usr/lib type ntfs (binary,auto)
E:/Cygwin on / type ntfs (binary,auto)
C: on /drv/c type ntfs (binary,posix=0,user,noumount,auto)
D: on /drv/d type ntfs (binary,posix=0,user,noumount,auto)
E: on /drv/e type ntfs (binary,posix=0,user,noumount,auto)
X: on /drv/x type ntfs (binary,posix=0,user,noumount,auto)

Henri


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