From mboxrd@z Thu Jan 1 00:00:00 1970
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me
X-Spam-Level: **
X-Spam-Status: No, score=2.1 required=5.0 tests=BAYES_00,INVALID_MSGID,
MSGID_RANDY,PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no
version=3.4.4
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 103376,d72dc559169a2d4d
X-Google-Attributes: gid103376,public
From: "Pascal Obry"
Subject: Re: fyi: getopt package in Ada.
Date: 1999/03/02
Message-ID: <7bg8vm$i43$1@cf01.edf.fr>#1/1
X-Deja-AN: 450296036
References: <7be4kn$6rc@drn.newsguy.com> <7beicd$pop$1@nnrp1.dejanews.com>
<7bepgc$mls@drn.newsguy.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: EDF
Newsgroups: comp.lang.ada
Date: 1999-03-02T00:00:00+00:00
List-Id:
nabbasi@pacbell.net a �crit dans le message <7bepgc$mls@drn.newsguy.com>...
>In article <7beicd$pop$1@nnrp1.dejanews.com>, robert_dewar@my-dejanews.com
>says...
>>
>
>>
>>I am sure that nabassi intends this, but just to point this
>>out to others, these units are under the GPL, this means
>>that they CAN NOT be used in other than GPL'ed programs.
>>This is quite unlike the situation with GNAT libraries
>>which use a modified GPL permitting their use in any
>>kinds of program. It also means of course that we cannot
>>distribute getopt.ads/adb as part of the GNAT library,
>>which otherwise might be nice to do!
>>
>
>Thanks for pointing this, but I did NOT know this. Actually I wanted to
>use same thing as GNAT, that is why I cut/past the generic header from
>one of GNAT source files, and simply used GETOPT where it said GNAT !
>(see below). So I am now confused.
>
You must use an header from a GNAT libraries, For example :
----------------------------------------------------------------------------
--
--
--
-- GNAT LIBRARY
--
--
--
-- G N A T . S P I T B O
--
--
--
-- S p e
--
--
--
-- $Revision: 1.18
--
--
--
-- Copyright (C) 1997-1999 Ada Core Technologies,
--
--
--
-- GNAT is free software; you can redistribute it and/or modify it
under --
-- terms of the GNU General Public License as published by the Free
Soft- --
-- ware Foundation; either version 2, or (at your option) any later
ver- --
-- sion. GNAT is distributed in the hope that it will be useful, but
WITH- --
-- OUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License --
-- for more details. You should have received a copy of the GNU
General --
-- Public License distributed with GNAT; see file COPYING. If not,
write --
-- to the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, --
-- MA 02111-1307,
--
--
--
-- As a special exception, if other files instantiate generics from
this --
-- unit, or you link this unit with other files to produce an
executable, --
-- this unit does not by itself cause the resulting executable to
be --
-- covered by the GNU General Public License. This exception does
not --
-- however invalidate any other reasons why the executable file might
be --
-- covered by the GNU Public
--
--
--
-- GNAT is maintained by Ada Core Technologies Inc
ttp://www.gnat.com). --
--
--
----------------------------------------------------------------------------
--
Pascal.