ada/9406: Documentation suggestion
simon@pushface.org
simon@pushface.org
Wed Jan 22 21:05:00 GMT 2003
>Number: 9406
>Category: ada
>Synopsis: Documentation suggestion
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 22 20:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Simon Wright
>Release: gcc version 3.3 20021130 (experimental)
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
A slight lack of clarity wrt how to link with non-Ada mains: suggested patch..
--- gcc/ada/gnat_ug.texi 28 Dec 2002 21:38:51 -0000 1.6
+++ gcc/ada/gnat_ug.texi 22 Jan 2003 20:50:34 -0000
@@ -2409,7 +2409,7 @@
@cindex Binder output file
@noindent
-If the main program is in some language other than Ada, Then you may
+If the main program is in some language other than Ada, you may
have more than one entry point in the Ada subsystem. You must use a
special option of the binder to generate callable routines to initialize
and finalize the Ada units (@pxref{Binding with Non-Ada Main Programs}).
@@ -2440,7 +2440,7 @@
@end smallexample
@item
-Run the Ada binder on the Ada main program. For instance:
+Run the Ada binder on the Ada entry units. For instance:
@smallexample
gnatbind ^-n^/NOMAIN^ entry_point1.ali entry_point2.ali
@end smallexample
>How-To-Repeat:
n/a
>Fix:
Apply suggested rewrite
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list