| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0004701 | OCaml | OCaml general | public | 2009-01-24 20:39 | 2012-09-25 20:06 |
|
| Reporter | glondu | |
| Assigned To | xclerc | |
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | fixed | |
| Platform | | OS | | OS Version | |
| Product Version | 3.11.0 | |
| Target Version | | Fixed in Version | 3.12.0 | |
|
| Summary | 0004701: Add dllibs information to objinfo output |
| Description | It would be nice to have an easy way to get dynamically-loaded libraries of a .cma file. Attached is a patch that implements this in objinfo. |
| Tags | No tags attached. |
|
| Attached Files | objinfo.patch [^] (731 bytes) 2009-01-24 20:39 [Show Content] [Hide Content]commit 64c95876afecad5a615075679abf5aaa7152ce1c
Author: Stephane Glondu <steph@glondu.net>
Date: Sat Jan 24 20:15:39 2009 +0100
Add dllibs information to ocamlobjinfo output
diff --git a/tools/objinfo.ml b/tools/objinfo.ml
index 4b26262..88c59e3 100644
--- a/tools/objinfo.ml
+++ b/tools/objinfo.ml
@@ -51,6 +51,8 @@ let print_library_info lib =
List.iter print_spaced_string lib.lib_ccobjs; print_newline();
print_string " Extra C options:";
List.iter print_spaced_string lib.lib_ccopts; print_newline();
+ print_string " Extra dynamically-loaded libraries:";
+ List.iter print_spaced_string lib.lib_dllibs; print_newline();
List.iter print_info lib.lib_units
let print_intf_info name sign comps crcs =
|
|