Web lists-archives.com

gcc 32 bit compiler does not like folder outside c:\cywgin




Following my previous post advisign 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