Georg Sauthoff wrote:

well, I work with a Haskell project which I regulary compile with ghc.

I am a bit unhappy with the link time of the project (i.e. the time ghc
needs to link everyting).

The project consinst of ~60 Haskell and ~25 foreign files.
Some parts of the project are organized like a 'cluster', i.e. the
foreign part has only one function, which is used from Haskell-Code.

What could I do to improve the link time?

Make sure everything being linked is on the local file system (or use remote filesystems that can be cached locally).

GHC itself links in 2-3 seconds here on an x86_64/Linux machine, which I think is pretty reasonable. Windows is much slower though.

Cheers,
        Simon
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to