Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
1682eab7
Commit
1682eab7
authored
24 years ago
by
sven.panne@aedion.de
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 2000-07-08 23:08:02 by panne]
Synched section on packages with new generalized package file format
parent
ac476ed9
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/docs/users_guide/using.sgml
+17
-16
17 additions, 16 deletions
ghc/docs/users_guide/using.sgml
with
17 additions
and
16 deletions
ghc/docs/users_guide/using.sgml
+
17
−
16
View file @
1682eab7
...
...
@@ -1606,12 +1606,12 @@ construction of interface files, is (allegedly) in the works.
import_dirs = ["/usr/local/lib/imports/mypkg"],
library_dirs = ["/usr/local/lib"],
libraries = ["HSmypkg", "HSmypkg_cbits"],
include_dir
=
""
,
c_include
= "HsMyPkg.h",
include_dir
s
=
[]
,
c_include
s
=
[
"HsMyPkg.h"
]
,
package_deps = ["text", "data"],
extra_ghc_opts =
""
,
extra_cc_opts =
""
,
extra_ld_opts = "-lmy_clib"
extra_ghc_opts =
[]
,
extra_cc_opts =
[]
,
extra_ld_opts =
[
"-lmy_clib"
]
}
)
</screen>
...
...
@@ -1659,25 +1659,26 @@ construction of interface files, is (allegedly) in the works.
</varlistentry>
<varlistentry>
<term><literal>include_dir</literal></term>
<indexterm><primary><literal>include_dir</literal></primary>
<term><literal>include_dir
s
</literal></term>
<indexterm><primary><literal>include_dir
s
</literal></primary>
<secondary>package specification</secondary></indexterm>
<listitem>
<para>A director
y
containing C includes for this
package
(may
be the empty st
ring
).</para>
<para>A
list of
director
ies
containing C includes for this
package
(maybe the empty
li
st).</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>c_include</literal></term>
<indexterm><primary><literal>c_include</literal></primary>
<term><literal>c_include
s
</literal></term>
<indexterm><primary><literal>c_include
s
</literal></primary>
<secondary>package specification</secondary></indexterm>
<listitem>
<para>A file to include for via-C compilations using this
package. Typically this include file will contain
function prototypes for any C functions used in the
package, in case they end up being called as a result of
Haskell functions from the package being inlined.</para>
<para>A list of files to include for via-C compilations
using this package. Typically this include file will
contain function prototypes for any C functions used in
the package, in case they end up being called as a result
of Haskell functions from the package being
inlined.</para>
</listitem>
</varlistentry>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment