From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7315 invoked by alias); 22 Jan 2003 20:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 7291 invoked by uid 71); 22 Jan 2003 20:56:00 -0000 Resent-Date: 22 Jan 2003 20:56:00 -0000 Resent-Message-ID: <20030122205600.7290.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, simon@pushface.org Received: (qmail 7245 invoked by uid 48); 22 Jan 2003 20:55:51 -0000 Message-Id: <20030122205551.7244.qmail@sources.redhat.com> Date: Wed, 22 Jan 2003 20:56:00 -0000 From: simon@pushface.org Reply-To: simon@pushface.org To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: ada/9406: Documentation suggestion X-SW-Source: 2003-01/txt/msg01241.txt.bz2 List-Id: >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: