Hello,
ghc-5.00.1 User's guide says
extra_ghc_opts
Extra arguments to be added to the GHC command line when this
package is being used.
I tried
(file p.txt)
Package {name = "foo", import_dirs = [],
source_dirs = [], library_dirs = [],
hs_libraries = [], extra_libraries = [],
include_dirs = [], c_includes = [],
package_deps = [], extra_ghc_opts = ["-v"],
extra_cc_opts = [], extra_ld_opts = []
}
ghc-pkg -a < p.txt
main = putStr "hello\n" (file Main.hs)
ghc -c -package foo Main.hs
expecting that it would add -v automatically after -c.
But it does not
(ghc-5.00.1 binary for Linux i386-unknown).
Could, you advise, please?
-----------------
Serge Mechveliani
[EMAIL PROTECTED]
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs