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.