[project @ 2002-06-12 22:04:25 by wolfgang]
authorwolfgang <unknown>
Wed, 12 Jun 2002 22:04:27 +0000 (22:04 +0000)
committerwolfgang <unknown>
Wed, 12 Jun 2002 22:04:27 +0000 (22:04 +0000)
commit643a2f7089ce22012df23c161702f9e6b6da6792
tree26ceff95dba8a47af0aa8f952dca2c4ed719f419
parentb02102f29e8043e74eef7108f75b07fe643a77aa
[project @ 2002-06-12 22:04:25 by wolfgang]
Added support for Frameworks on MacOS X.
*) On MacOS X, two additional command-line options are supported:
-framework <FRAMEWORK>    link with framework, gets passed on to ld
-framework-path <PATH>    gets passed on to ld as "-F<PATH>". (-F is already taken for GHC).
*) Two corresponding additional options for package.conf files:
framework_dirs
extra_frameworks
These options are allowed on any platform. They are ignored everywhere except on MacOS X.
*) ghc-pkg no longer uses Read. Instead, it uses a Happy parser. ghc/utils/ghc-pkg/ParsePkgConfLite.y is basically a copy of ghc/compiler/main/ParsePkgConf.y. "Light" refers to the fact that it doesn't depend on other GHC modules and has less sophisticated error reporting.
*) Frameworks will need some additional work for GHCi.
ghc/compiler/ghci/InteractiveUI.hs
ghc/compiler/main/DriverFlags.hs
ghc/compiler/main/DriverPipeline.hs
ghc/compiler/main/DriverState.hs
ghc/compiler/main/Packages.lhs
ghc/compiler/main/ParsePkgConf.y
ghc/utils/ghc-pkg/Main.hs
ghc/utils/ghc-pkg/Package.hs
ghc/utils/ghc-pkg/ParsePkgConfLite.y [new file with mode: 0644]