Re: hard-coded library search path in gcc-4

2012-01-20 Thread Ilguiz Latypov
$ ( export PATH= ; /cygdrive/c/cygwin/bin/gcc-4.exe -v -E - /dev/null ) I figured that cc1 depends on /usr/bin.  A user invoking cc1 directly could figure the missing dependency.  Invoking cc1 indirectly from /usr/bin/gcc-4 without /usr/bin in PATH will break cc1 against expectation of

hard-coded library search path in gcc-4

2012-01-19 Thread Ilguiz Latypov
I found that gcc-4 from a recent setup.exe could not start cc1 because the latter could not find some shared object file. I confirmed that by running cc1 alone with an empty PATH variable. $ ( export PATH= ; /cygdrive/c/cygwin/bin/gcc-4.exe -v -E - /dev/null ) Using built-in specs.

Re: hard-coded library search path in gcc-4

2012-01-19 Thread Dave Korn
On 20/01/2012 04:07, Ilguiz Latypov wrote: I found that gcc-4 from a recent setup.exe could not start cc1 because the latter could not find some shared object file. I confirmed that by running cc1 alone with an empty PATH variable. Running cygcheck /usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1.exe