gcc 32-bit compiler returns error 1 immediately

2018-03-16 Thread Tim Clarke

I have installed the 64 verswon of gcc and it works fine
I also installed the 32 bit version on a 32-bit laptop and it
installs ok,  but when atteppting to comple any program with
gcc it simply returns eiimdiately without doing anything,
with return-code  1

I installed both versions the same way;  simply selected
the gcc-core packahe within gthe development section

I used the 32bit version some years ago with no problems,
so something seems to have changed !


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



gcc 32 bit compiler does not like files outside of c:\cygwin

2018-03-16 Thread Tim Clarke

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