OCaml Forge
Bugs
Search the entire project
This project's trackers
This project's tasks
This project's releases
This project's documents
This project's news
Project
People
Advanced search
Log In
New Account
Home
My Page
Projects
Code Snippets
OASIS
Summary
Activity
Tracker
Lists
Tasks
Docs
News
Files
Hudson
Detail: [#757] ocamlmktop needs -linkpkg
Bugs: Browse
|
Download .csv
|
Monitor
[#757] ocamlmktop needs -linkpkg
Date:
2010-09-22 15:11
Priority:
3
State:
Open
Submitted by:
ygrek (
ygrek
)
Assigned to:
Sylvain Le Gall (gildor-admin)
Due in version:
0.2.1
Product:
OASIS
Operating System:
None
Component:
Plugin OCamlbuild
Version:
v0.2.0
Severity:
normal
Resolution:
Accepted As Bug
URL:
Summary:
ocamlmktop needs -linkpkg
Detailed description
Consider the patch below, it doesn't solve all the problems (e.g. path to local stubs) but it definitely makes life easier :
--- myocamlbuild.ml 2010-09-22 18:06:54.000000000 +0300
+++ myocamlbuild.ml.ba1 2010-09-22 18:07:46.000000000 +0300
@@ -275,8 +275,9 @@
| After_rules ->
- (* When one link an OCaml library/binary/package, one should use -linkpkg *)
+ (* When link produces an OCaml program/toplevel, one should use -linkpkg *)
flag ["ocaml"; "link"; "program"] & A"-linkpkg";
+ flag ["ocaml"; "link"; "toplevel"] & A"-linkpkg";
(* For each ocamlfind package one inject the -package option when
* compiling, computing dependencies, generating documentation and
Followup
Message
Date: 2012-05-23 17:22
Sender:
Sylvain Le Gall
No. It will go with the new toplevel section. But you'll see it coming faster than expected.... you see what i mean with oasis 0.3.1
Date: 2012-05-23 16:28
Sender:
ygrek
not making into 0.3.0?
Date: 2011-01-26 10:34
Sender:
ygrek
more missing rules :
flag ["doc"; "ocaml"; "rectypes"] & A"-rectypes";
Date: 2011-01-19 11:04
Sender:
ygrek
patch attached
Date: 2010-09-22 15:28
Sender:
Sylvain Le Gall
I acknowledge this bug. Thanks for reporting.
Regards
Sylvain Le Gall
Attached Files:
Attachments:
toplevel_linkpkg.diff
Changes:
Field
Old Value
Date
By
Due in version
None
2011-11-23 21:51
gildor-admin
File Added
97: toplevel_linkpkg.diff
2011-01-19 11:04
ygrek
Resolution
None
2010-09-22 15:28
gildor-admin
assigned_to
none
2010-09-22 15:27
gildor-admin