From 4425310efde871b87823ea3c08404cadf42a967e Mon Sep 17 00:00:00 2001 From: wolfgang Date: Sat, 15 Jun 2002 20:23:13 +0000 Subject: [PATCH] [project @ 2002-06-15 20:23:12 by wolfgang] Documentation for Darwin/MacOS X-Specific options/packacke.conf entries (-framework, -framework-path; framework_dirs, extra_frameworks) --- ghc/docs/users_guide/flags.sgml | 15 +++++++++++++++ ghc/docs/users_guide/packages.sgml | 22 ++++++++++++++++++++++ ghc/docs/users_guide/phases.sgml | 24 ++++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/ghc/docs/users_guide/flags.sgml b/ghc/docs/users_guide/flags.sgml index cf76694..8514c48 100644 --- a/ghc/docs/users_guide/flags.sgml +++ b/ghc/docs/users_guide/flags.sgml @@ -1092,6 +1092,21 @@ - + name + On Darwin/MacOS X only, link in the framework name. + This option corresponds to the option for Apple's Linker. + static + - + + + name + On Darwin/MacOS X only, add dir to the list of + directories searched for frameworks. + This option corresponds to the option for Apple's Linker. + static + - + + Split objects (for libraries) static diff --git a/ghc/docs/users_guide/packages.sgml b/ghc/docs/users_guide/packages.sgml index a014b3f..b778a50 100644 --- a/ghc/docs/users_guide/packages.sgml +++ b/ghc/docs/users_guide/packages.sgml @@ -527,6 +527,28 @@ (for linking) when this package is being used. + + + framework_dirs + framework_dirs + package specification + + On Darwin/MacOS X, a list of directories containing frameworks for this + package. This corresponds to the + + + + + extra_frameworks + extra_frameworks + package specification + + On Darwin/MacOS X, a list of frameworks to link to. This corresponds to the + option. Take a look at Apple's developer documentation + to find out what frameworks actually are. This entry is ignored on all other platforms. + + diff --git a/ghc/docs/users_guide/phases.sgml b/ghc/docs/users_guide/phases.sgml index 043a451..b3f4883 100644 --- a/ghc/docs/users_guide/phases.sgml +++ b/ghc/docs/users_guide/phases.sgml @@ -475,6 +475,20 @@ strmod = "\ + name + + + On Darwin/MacOS X only, link in the framework name. + This option corresponds to the option for Apple's Linker. + Please note that frameworks and packages are two different things - frameworks don't + contain any haskell code. Rather, they are Apple's way of packaging shared libraries. + To link to Apple's “Carbon&qdquo; API, for example, you'd use + . + + + + + dir @@ -485,6 +499,16 @@ strmod = "\ + dir + + + On Darwin/MacOS X only, prepend the directory dir to + the framework directories path. This option corresponds to the + option for Apple's Linker ( already means something else for GHC). + + + + -- 1.7.10.4