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=0.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, PDS_OTHER_BAD_TLD autolearn=no autolearn_force=no version=3.4.4 X-Received: by 10.200.3.11 with SMTP id q11mr9558193qtg.12.1515437593102; Mon, 08 Jan 2018 10:53:13 -0800 (PST) X-Received: by 10.157.84.13 with SMTP id j13mr599727oth.10.1515437592822; Mon, 08 Jan 2018 10:53:12 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.unit0.net!peer01.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g35no2995329qtk.1!news-out.google.com!t48ni1444qtc.1!nntp.google.com!i6no1580410itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 8 Jan 2018 10:53:12 -0800 (PST) In-Reply-To: <9c4d5a06-086d-41b0-96c8-27fbf1c71b5d@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=46.193.67.37; posting-account=HX-a2AoAAAAsVMeMwPR6BDHiL1Oe3kHI NNTP-Posting-Host: 46.193.67.37 References: <397e0653-1512-4111-b321-edde0c024bc8@googlegroups.com> <2462e55d-57d1-4753-b3e2-cd0a0b0f28e0@googlegroups.com> <9bedbd9c-94d3-4aaa-ab92-0b2e8648e403@googlegroups.com> <9c4d5a06-086d-41b0-96c8-27fbf1c71b5d@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <194af3eb-d3f5-4587-a568-509e19a4971b@googlegroups.com> Subject: Re: Ada download From: sophia.adampour@gmail.com Injection-Date: Mon, 08 Jan 2018 18:53:13 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Body-CRC: 1101359767 X-Received-Bytes: 10642 Xref: reader02.eternal-september.org comp.lang.ada:49812 Date: 2018-01-08T10:53:12-08:00 List-Id: It finally worked!=20 I got this message: Last login: Mon Jan 8 13:08:59 on ttys000 Adampours-MacBook-Pro:~ adampour$ sudo /Users/adampour/Downloads/gnat-gpl-2= 017-x86_64-darwin-bin/doinstall Password: This script is provided to simplify the installation of the x86_64-apple-darwin14.5.0 binary version of the GNAT GPL Edition Ada (2012, 2005, 95, and 83) environment maintained by AdaCore. For information on commercial support please contact sales@adacore.com. This script will ask you how you would like to configure GNAT. Confirmation is required before any write action is taken. Please press RETURN to continue. RETURN To install GNAT, you need to specify a base directory. All the files will be installed in subdirectories that are created under this directory. Important Note: You should not use ~ or ~username wildcards when specifying this directory name. In which directory do you want to install GNAT? [/usr/local/gnat]: /usr/local/gnat2017 The GNAT GPL Edition installation directory will be: /usr/local/gnat2017 Is this correct ? Type 'Y' if so, otherwise type 'N' and you'll be prompted for another directory name. Do you want to continue ? [yY|nN]: Y GNAT GPL Edition is now about to be installed in /usr/local/gnat2017. Type 'Y' if you want to proceed with installation or any other key if you wish to abort. Do you want to proceed with installation ? [yY|nN]: Y rm -fr "/usr/local/gnat2017/lib/gcc/x86_64-apple-darwin14.5.0/6.3.1"/rts* rm -fr "/usr/local/gnat2017/lib/gcc/x86_64-apple-darwin14.5.0/6.3.1/adaincl= ude" "/usr/local/gnat2017/lib/gcc/x86_64-apple-darwin14.5.0/6.3.1/adalib" rm -fr "/usr/local/gnat2017/share/doc/gnat" rm -fr "/usr/local/gnat2017/share/examples/gnat" rm -fr "/usr/local/gnat2017"/share/gprconfig mkdir -p "/usr/local/gnat2017" rm -f "/usr/local/gnat2017"/lib/libgcc* rm -f "/usr/local/gnat2017"/bin/gnat[!p]* rm -f "/usr/local/gnat2017"/bin/gnatpp* rm -f "/usr/local/gnat2017"/bin/gnatprep* rm -f "/usr/local/gnat2017"/bin/gnat rm -f "/usr/local/gnat2017"/bin/gpr* rm -f "/usr/local/gnat2017"/bin/gcc "/usr/local/gnat2017"/bin/x86_64-apple-= darwin14.5.0-gcc for d in bin lib libexec lib32 lib64 include \ doc examples share etc DLLs x86_64-apple-darwin14.5.0; do = \ if [ -d "$d" ]; then \ tar cf - "$d" | (cd "/usr/local/gnat2017" && tar xf -); \ fi \ done # Override the mkheaders target assignment on solaris so we apply the # correct set of fixinclude hacks. This set depends on the solaris # version, the default assignment is established from the target for # which the compiler was configured and we might be installing # elsewhere (e.g. installing on a 2.10 host from a binary configure # for 2.9) solaris_target=3D`uname -rs|sed -n -e 's/SunOS 5/solaris2/p'`; \ if [ "$solaris_target" ]; then \ sed -e "s:target=3Dsparc-sun-solaris2[0-9\.]*:target=3Dsparc-sun-$solari= s_target:" \ "/usr/local/gnat2017/libexec/gcc/x86_64-apple-darwin14.5.0/6.3.1/insta= ll-tools/mkheaders" > mkheaders.tmp \ && chmod +x mkheaders.tmp && mv mkheaders.tmp "/usr/local/gnat2017/libex= ec/gcc/x86_64-apple-darwin14.5.0/6.3.1/install-tools/mkheaders"; \ fi "/usr/local/gnat2017/libexec/gcc/x86_64-apple-darwin14.5.0/6.3.1/install-to= ols/mkheaders" -v -v "/usr/local/gnat2017" Fixing headers into /usr/local/gnat2017/lib/gcc/x86_64-apple-darwin14.5.0/6= .3.1/include-fixed for x86_64-apple-darwin14.5.0 target No forbidden identifiers defined by this target Finding directories and links to directories Searching /usr/include/. Searching /usr/include/./python2.6 Searching /usr/include/./python2.7 Making symbolic directory links Fixing directory /usr/include into /usr/local/gnat2017/lib/gcc/x86_64-apple= -darwin14.5.0/6.3.1/include-fixed Applying io_quotes_def to apache2/modperl_common_util.h Applying io_quotes_def to curl/curlver.h Applying ctrl_quotes_def to editline/readline.h Applying stdio_va_list_clients to krb5.h Applying hpux8_bogus_inlines to math.h Applying math_exception to math.h Fixed: math.h Applying io_quotes_def to net/if_media.h Applying io_quotes_def to net-snmp/library/container.h Applying ctrl_quotes_def to readline/history.h Applying ctrl_quotes_def to readline/readline.h Applying io_quotes_use to security/audit/audit_ioctl.h Applying darwin_stdint_1 to stdint.h Applying darwin_stdint_2 to stdint.h Applying darwin_stdint_3 to stdint.h Applying darwin_stdint_4 to stdint.h Applying darwin_stdint_5 to stdint.h Applying darwin_stdint_6 to stdint.h Applying darwin_stdint_7 to stdint.h Fixed: stdint.h Applying sysv68_string to string.h Applying io_quotes_def to sys/cdefs.h Applying io_quotes_def to sys/ioccom.h Applying io_quotes_def to sys/ttycom.h Applying io_quotes_use to sys/ttycom.h Fixing directory /usr/include/python2.6 into /usr/local/gnat2017/lib/gcc/x8= 6_64-apple-darwin14.5.0/6.3.1/include-fixed/root/System/Library/Frameworks/= Python.framework/Versions/2.6/include/python2.6 Fixing directory /usr/include/python2.7 into /usr/local/gnat2017/lib/gcc/x8= 6_64-apple-darwin14.5.0/6.3.1/include-fixed/root/System/Library/Frameworks/= Python.framework/Versions/2.7/include/python2.7 Cleaning up unneeded directories: fixincludes is done case `uname` in \ *_NT*) (cd "/usr/local/gnat2017/lib/gcc/x86_64-apple-darwin14.5.0/6.3.1= "/adalib;chmod a-w *.ali) ;; \ esac cat "/usr/local/gnat2017/share/examples/gnat"/header.xml > "/usr/local/gna= t2017/share/examples/gnat"/gnat-examples.xml=20 for d in full_project/full.xml options/options.xml other_languages/cpp_main= /cpp_main.xml other_languages/cpp_pragmas/cpp_pragmas.xml other_languages/i= mport_from_c/import_from_c.xml plugins/plugins.xml stream_io/stream_io.xml = simple_project/simple_project.xml starter/starter.xml xml_stream/xml_stream= .xml containers/anagram/anagram.xml containers/genealogy/genealogy.xml cont= ainers/hash/hash.xml containers/library/library.xml containers/shapes/shape= s.xml containers/spellcheck/spellcheck.xml containers/wordcount/wordcount.x= ml containers/wordfreq/wordfreq.xml oo_interfaces/oo_interfaces.xml oo_airl= ine/oo_airline.xml altivec/altivec.xml; do cat "/usr/local/gnat2017/share/e= xamples/gnat/$d" >> "/usr/local/gnat2017/share/examples/gnat"/gnat-examples= .xml; done cat "/usr/local/gnat2017/share/examples/gnat"/footer.xml >> "/usr/local/gna= t2017/share/examples/gnat"/gnat-examples.xml sed "s:PREFIX:/usr/local/gnat2017:" "/usr/local/gnat2017/share/examples/gna= t"/gnat-examples.xml > \ "/usr/local/gnat2017/share/examples/gnat"/gnat-examples.xml.tmp && \ mv "/usr/local/gnat2017/share/examples/gnat"/gnat-examples.xml.tmp "/usr/l= ocal/gnat2017/share/examples/gnat"/gnat-examples.xml if [ ! -d "/usr/local/gnat2017/share/gps/plug-ins" ]; then \ mkdir -p "/usr/local/gnat2017/share/gps/plug-ins"; \ fi cp "/usr/local/gnat2017/share/examples/gnat"/gnat-examples.xml "/usr/local/= gnat2017/share/gps/plug-ins" On OS X, the debugger needs to be codesigned in order to access the priviledges required for debugging. Please refer to the procedure documented in the Mac OS Topics chapter of the GNAT GPL User's Guide, section Codesigning the Debugger. This procedure should be applied after the GNAT GPL install has completed. Press Enter to continue. GNAT GPL is now installed. To launch it, you must put /usr/local/gnat2017/bin in front of your PATH environment variable. The following commands enable you to do this: PATH=3D"/usr/local/gnat2017/bin:$PATH"; export PATH (Bourne shell) setenv PATH "/usr/local/gnat2017/bin:$PATH" (C shell) Thank you for installing GNAT GPL Edition! Adampours-MacBook-Pro:~ adampour$ export PATH=3D/usr/local/gnat2017/bin:$PA= TH Adampours-MacBook-Pro:~ adampour$ gcc --version gcc (GCC) 6.3.1 20170510 (for GNAT GPL 2017 20170515) Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. See your AdaCore support agreement for details of warranty and support. If you do not have a current support agreement, then there is absolutely no warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Adampours-MacBook-Pro:~ adampour$ Hello.World -bash: Hello.World: command not found Adampours-MacBook-Pro:~ adampour$ Ada.Text_IO.Put_Line("Hello world!"); -bash: !": event not found Adampours-MacBook-Pro:~ adampour$=20 But how do I use the program? Do I have gps now? If yes, how do I open it?= =20 I am so sorry for all these questions, I just really want to learn programm= ing and we're using Ada at our school