Ticket #26 (new enhancement)

Opened 3 years ago

Last modified 11 months ago

add Threaded as an extension?

Reported by: ijones Assigned to:
Priority: normal Milestone: _|_
Component: Cabal library Version:
Severity: normal Keywords:
Cc: Difficulty: easy
GHC Version: 6.2.1 Platform: Linux

Description

igloo's idea. rather than making people use ghc-options: threaded, list it as an extension. Then cabal can give an error for Hugs if the program won't work there?

Change History

12/11/05 12:17:55 changed by ijones

  • difficulty set to easy.

05/26/07 06:05:24 changed by guest

  • priority changed from normal to high.
  • platform set to Linux.
  • ghcversion set to 6.2.1.

01/21/08 09:43:10 changed by duncan

  • priority changed from high to normal.
  • milestone changed from Cabal-1.4 to _|_.

The only problem is that threaded applies to the final program. If a library declares that it needs threaded, does that mean we have to propagate the flag and use it with all programs that use it?

Propagating GHC flags is not possible currently - by design. GHC used to have such a feature and it was removed.

Or perhaps we say it's an extension that only applies to executables?