Re: gcc 32 bit compiler does not like files outside of c:\cygwin
- Date: Fri, 16 Mar 2018 21:47:08 +0100
- From: Houder <houder@xxxxxxxxx>
- Subject: Re: gcc 32 bit compiler does not like files outside of c:\cygwin
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
> gcc sourcefile.c
> does nothing and 'echo $?' displays 1
> 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).
"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
@@ vi srcfil.c
@@ gcc srcfil.c
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)
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple