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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,d672d2d8b4e233b2 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.216.61.65 with SMTP id v43mr974367wec.6.1343789456201; Tue, 31 Jul 2012 19:50:56 -0700 (PDT) Received: by 10.66.85.71 with SMTP id f7mr3304085paz.39.1343789456088; Tue, 31 Jul 2012 19:50:56 -0700 (PDT) Path: q11ni15937998wiw.1!nntp.google.com!12no2035872wil.1!news-out.google.com!g9ni9632822pbo.0!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nrc-news.nrc.ca!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Compiling FSF GNAT standalone? Date: Sun, 29 Jul 2012 15:08:19 +0100 Organization: A noiseless patient Spider Message-ID: References: <6f23953d-afc2-40d8-8155-da878cb876df@googlegroups.com> <970bce81-a038-46d4-91f0-46a6c76986e9@googlegroups.com> <90dee338-8939-49b1-90ea-74f87a5e60fd@googlegroups.com> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="edf2659fbb8cb6d4b5f62db4b36ac1e6"; logging-data="17766"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19gpP+8Azo5e8xRQSjSwl1PVcJGW69r+hM=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (darwin) Cancel-Lock: sha1:GSIV65ZG24tV7eukeRiTFGqWNRE= sha1:HFZ8sExz74lKvZWR5UO6PxMp8D4= Content-Type: text/plain Date: 2012-07-29T15:08:19+01:00 List-Id: Patrick writes: > If I install gnat with apt-get, then I have gnatpp(with bug) called > through GNAT and I can call gnatmake directly on a file too. If I > install GCC, I don't get Ada in the vanilla package but if GNAT is > also installed I have GCC + Ada. If I call gcc with the right flags > then I can compile a file and release the code under whatever license > I want but if I call gnatmake can I still release it under whatever > license I want? If the gnatmake is being called from a Adacore GPL > package then I can't right? If vanilla GCC is not equipped with GNAT > but is after GNAT is installed, is the installation process installing > a totally new version of GCC or is GCC still calling Adacore's GPL > only GNAT somewhere in the process? If you don't download & install GNAT GPL from libre.adacore.com, your Debian installation is using FSF GCC. gnatmake is a tool used during the build, and has no impact on the copyright status of any executables you may build with it; in this context, the only things to worry about are the libraries you use. One set of libraries is the ADA RTS, necessary to run any Ada program; this is the part of GNAT GPL that you need to be wary of (the compiler itself is GCC, but the result of using the compiler isn't; the thing is, the compiled code relies on the RTS). If you use any other libraries, you need to think about their licenses too. Many libraries come with licenses which allow you to distribute proprietary programs without distributing source - for example, TclAdaShell[1]. Others, such as ASIS, are full GPL. [1] https://sourceforge.net/projects/tcladashell/