Ticket #34 (new enhancement)

Opened 3 years ago

Last modified 10 months ago

specify a way to add .o files to a library

Reported by: igloo Assigned to:
Priority: normal Milestone: Cabal-2.0
Component: Cabal library Version: HEAD
Severity: normal Keywords:
Cc: Difficulty: normal
GHC Version: 6.2.1 Platform:

Description

.o files may be generated by means outside of cabal, and there should be a way to list them in the .cabal file as being linked with the library.

Change History

12/11/05 12:19:31 changed by ijones

  • difficulty set to easy.

05/26/07 06:11:53 changed by guest

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

12/26/07 15:30:25 changed by duncan

  • priority changed from high to normal.
  • difficulty changed from easy to normal.

This needs a great deal more specification. When will these .o files be created for example?

12/28/07 05:48:14 changed by guest

By a build hook, probably. Possibly by another hook, or outside of Cabal completely. All you have to do is to tell the linker to link them, though.

Ian

12/29/07 10:56:07 changed by duncan

This would not work at all well with a dependency system since we want to know there how to generate or re-generate the .o files rather than just rely on sequencing. On the other hand in the new dependency system it should be easy to add extra ways of generating .o files in a hook. So I think we should wait and revisit this issue when developing the dependency framework.

01/24/08 07:45:54 changed by duncan

  • platform deleted.
  • milestone changed from Cabal-1.4 to Cabal-2.0.