~ chicken-core (chicken-5) 5164b65e9d1fc50717527ff9ed009776c8eb8ad0


commit 5164b65e9d1fc50717527ff9ed009776c8eb8ad0
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Mon Jan 9 10:47:11 2017 +0100
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Mon Jan 9 10:47:11 2017 +0100

    documented -emit-link-file

diff --git a/chicken.mdoc b/chicken.mdoc
index 33862c57..d4e3a97e 100644
--- a/chicken.mdoc
+++ b/chicken.mdoc
@@ -222,6 +222,10 @@ include file after main source file
 compile as dynamically loadable code
 .It Fl require-extension Ar NAME
 require and import extension NAME
+.It Fl emit-link-file Ar FILENAME 
+write a list of statically linked extensions to {{FILENAME}}, 
+used for identifying the static objects that need to be 
+linked to an executable
 .El
 .Pp
 Obscure options:
diff --git a/manual/Using the compiler b/manual/Using the compiler
index 7270de02..bed6f13f 100644
--- a/manual/Using the compiler	
+++ b/manual/Using the compiler	
@@ -59,6 +59,8 @@ the source text should be read from standard input.
 
 ; -emit-inline-file FILENAME : Write procedures that can be globally inlined in internal form to {{FILENAME}}, if global inlining is enabled. Implies {{-inline -local}}. If the inline-file would be empty (because no procedure would be inlinable) no file is generated and any existing inline-file with that name is deleted.
 
+; -emit-link-file FILENAME : write a list of statically linked extensions to {{FILENAME}}, used for identifying the static objects that need to be linked to an executable.
+
 ; -emit-type-file FILENAME : Write type-information for declarations of user-defined and globally visible variables to a file of the given name. The generated file is suitable for use with the {{-consult-type-file}} option.
 
 ; -explicit-use : Disables automatic use of the units {{library, eval}} and {{expand}}. Use this option if compiling a library unit instead of an application unit.
Trap