Ticket #3929 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

hsc2hs can't find gcc when run directly on Windows

Reported by: igloo Owned by: simonmar
Priority: normal Milestone: 6.12.2
Component: Driver Version: 6.12.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty:
Test Case: hsc2hs001 hsc2hs002 Blocked By:
Blocking: Related Tickets:

Description

hsc2hs can't find gcc when run directly on Windows (but works fine when run by Cabal).

It probably needs a wrapper executable.

=====> hsc2hs001(normal) 1 of 2 [0, 0, 0]
cd . && $MAKE -s --no-print-directory hsc2hs001    </dev/null >hsc2hs001.run.stdout 2>hsc2hs001.run.stderr
Wrong exit code (expected 0 , actual 2 )
Stdout:

Stderr:
Can't find gcc
make[1]: *** [hsc2hs001] Error 1

Change History

Changed 3 years ago by simonmar

  • owner set to simonmar
  • status changed from new to assigned

I'm validating a fix for this.

Changed 3 years ago by simonmar

  • status changed from assigned to merge

This should fix it:

Tue Apr 20 06:46:17 PDT 2010  Simon Marlow <marlowsd@gmail.com>
  * Look for an inplace gcc on Windows (#3929)

Changed 3 years ago by igloo

  • status changed from merge to closed
  • resolution set to fixed
  • patch set to 0

Merged.

Note: See TracTickets for help on using tickets.