Opened 8 years ago

Closed 8 years ago

Last modified 6 years ago

#1017 closed bug (invalid)

gcc shipped with Windows GHC 6.6 is broken

Reported by: josef Owned by:
Priority: normal Milestone:
Component: None Version: 6.6
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

I've installed GHC 6.6 on Windows. When I try to use the gcc shipped with the installation I get the following:

$ c:/ghc/ghc-6.6/gcc.exe -c check.c
gcc.exe: installation problem, cannot exec `cc1': No such file or directory

I tried uninstalling and reinstalling GHC but that had no effect.

I'm using the .msi version.

Change History (6)

comment:1 Changed 8 years ago by sof

Could you confirm or deny whether this is on a machine running Vista?

comment:2 Changed 8 years ago by josef

This is on a machine running XP SP 2. So the answer is no, no Vista.

comment:3 Changed 8 years ago by sof

OK thanks, there's a known bug on that front,
hence the Q.

What you're trying to do isn't supported -- .c
files should be compiled via the GHC driver
directly --

c:/ghc/ghc-6.6/bin/ghc -c check.c

If you refuse to go that route, try adding
-Bc:/ghc/ghc-6.6/gcc-lib to your invocation of gcc.

comment:4 Changed 8 years ago by josef

  • Resolution set to invalid
  • Status changed from new to closed

I'm surprised to hear that this is not supported. I've been using it since GHC 5.04 at least. But your fix works so I'm happy anyway.

I'm resolving this ticket as "invalid" since you don't support this use case.

comment:5 Changed 6 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:6 Changed 6 years ago by simonmar

  • Operating System changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.