[GHC] #477: Compiling multiple executables with -make

GHC trac at galois.com
Fri Oct 20 10:42:06 EDT 2006


#477: Compiling multiple executables with -make
-----------------------------+----------------------------------------------
 Reporter:  supermule        |          Owner:  nobody  
     Type:  feature request  |         Status:  assigned
 Priority:  normal           |      Milestone:  _|_     
Component:  None             |        Version:  None    
 Severity:  minor            |     Resolution:  None    
 Keywords:                   |     Difficulty:  Unknown 
 Testcase:  N/A              |   Architecture:  Unknown 
       Os:  Unknown          |  
-----------------------------+----------------------------------------------
Changes (by igloo):

  * architecture:  => Unknown
  * difficulty:  => Unknown
  * milestone:  => _|_
  * testcase:  => N/A
  * os:  => Unknown

Old description:

> {{{
> Hi
>
> I am very happy with the -make option. However, I think
> it could be improved even further. I would like ghc to
> be able to compile multiple executables with one
> invocation of ghc, using the -make option.
>
> Compiling multiple executables in one invokation could
> safe a lot of compile-time, when the executables shares
> most of their source files. I believe the time would be
> saved, as it would remove the need to check all source
> files for possible recompilation for each executable.
> Furthermore, we would also only need to build the
> dependency graph once.
>
> /Mads Lindstrøm
>
> }}}

New description:

 Hi

 I am very happy with the -make option. However, I think
 it could be improved even further. I would like ghc to
 be able to compile multiple executables with one
 invocation of ghc, using the -make option.

 Compiling multiple executables in one invokation could
 safe a lot of compile-time, when the executables shares
 most of their source files. I believe the time would be
 saved, as it would remove the need to check all source
 files for possible recompilation for each executable.
 Furthermore, we would also only need to build the
 dependency graph once.

 /Mads Lindstrøm

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/477>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list