[Haskell-cafe] Export Haskell Libraries
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Sat Apr 14 05:56:34 EDT 2007
On Thu, 2007-04-12 at 23:38 -0700, SevenThunders wrote:
>
> I saw a lot of options for places to put sources and targets, but I couldn't
> quite figure out how to configure it to place the object file output. No doubt
> it's there, I just couldn't find it in the 45 min.s or so that I looked for it.
runghc Setup.hs configure --help give the full list. The one you want is
--scratchdir (or just -b).
> It seems that ghc itself is doing some kind of dependency analysis to
> determine the final call to gcc.
Yes, ghc knows which packages are required and the description for each
package lists the packages it depends on and any C libs and other linker
flags and search paths it needs.
Duncan
More information about the Haskell-Cafe
mailing list