#1110: Setting PATH needed in Windows Vista
---------------------------------+------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |          Owner:                
     Type:  bug                  |         Status:  new           
 Priority:  high                 |      Milestone:  6.6.1         
Component:  Driver               |        Version:  6.6           
 Severity:  normal               |     Resolution:                
 Keywords:                       |     Difficulty:  Unknown       
 Testcase:                       |   Architecture:  x86_64 (amd64)
       Os:  Windows              |  
---------------------------------+------------------------------------------
Comment (by igloo):

 OK, so your (cygwin) log looks like this:
 {{{
 D:\programas\ghc-6.6\gcc -BD:\programas\ghc-6.6\gcc-lib/ ...
 ...
  cc1 -quiet ...
 gcc: installation problem, cannot exec `cc1': No such file or directory
 }}}
 (the -B option tells gcc where to find its internal executables etc)
 whereas mine looks like this:
 {{{
 c:\ghc\ghc-6.6\gcc -Bc:\ghc\ghc-6.6\gcc-lib/ ...
 ...
  c:/ghc/ghc-6.6/gcc-lib/cc1.exe -quiet ...
 ...
 }}}
 Both claim to be `gcc version 3.4.5 (mingw special)`.

 My guess is that on Vista gcc has decided that the -B directory we give it
 doesn't exist, presumably because it's getting confused by directory
 separators.

 Is someone with Vista able to see if they can work out what we need to
 pass please? You should be able to test with something like
 {{{
 c:/ghc/ghc-6.6/gcc q.c -o q -v -Bc:\\ghc\\ghc-6.6\\gcc-lib/
 }}}
 at a cygwin prompt (note the escaped '\'s), where q.c is just something
 like
 {{{
 int main(void) {
     return 0;
 }
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1110>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to