<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello, All.</p>
<p>I made instrumental build which generates profiling information.
Cabal's options are:</p>
<p> <tt> ghc-options: -Wall</tt><tt><br>
</tt><tt> -O2</tt><tt><br>
</tt><tt> -threaded</tt><tt><br>
</tt><tt> -prof</tt><tt><br>
</tt><tt> -fprof-auto</tt><tt><br>
</tt><tt> -rtsopts</tt><tt><br>
</tt><tt> -fprof-cafs</tt><tt><br>
</tt><tt> "-with-rtsopts=-N -s -h -i0.1 -p -M1G
-SMyApplication-S.log"</tt><br>
</p>
<p>so running application generates files: <i>MyApplication-S.log,
MyApplication.hp, MyApplication.prof</i></p>
<p>but in current working directory - which is the problem (also I
need to run it on Windows and Linux). Is it possible to specify
directory of those output files with some option? Without this I
get "Can't open ... file..." due to permission error - Haskell
Runtime tries to save all of them in current folder (on Linux and
on Windows standard folders for binaries is not allowed for
writing, sure).</p>
<p>===</p>
<p>Best regards, Paul<br>
</p>
</body>
</html>