comp.lang.ada
 help / color / mirror / Atom feed
From: sophia.adampour@gmail.com
Subject: Re: Ada download
Date: Mon, 8 Jan 2018 10:53:12 -0800 (PST)
Date: 2018-01-08T10:53:12-08:00	[thread overview]
Message-ID: <194af3eb-d3f5-4587-a568-509e19a4971b@googlegroups.com> (raw)
In-Reply-To: <9c4d5a06-086d-41b0-96c8-27fbf1c71b5d@googlegroups.com>

It finally worked! 
I got this message:

Last login: Mon Jan  8 13:08:59 on ttys000
Adampours-MacBook-Pro:~ adampour$ sudo /Users/adampour/Downloads/gnat-gpl-2017-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/adainclude" "/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=`uname -rs|sed -n -e 's/SunOS 5/solaris2/p'`; \
	if [ "$solaris_target" ]; then \
	  sed -e "s:target=sparc-sun-solaris2[0-9\.]*:target=sparc-sun-$solaris_target:" \
	    "/usr/local/gnat2017/libexec/gcc/x86_64-apple-darwin14.5.0/6.3.1/install-tools/mkheaders" > mkheaders.tmp \
	  && chmod +x mkheaders.tmp && mv mkheaders.tmp "/usr/local/gnat2017/libexec/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-tools/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/x86_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/x86_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/gnat2017/share/examples/gnat"/gnat-examples.xml 
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/import_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 containers/hash/hash.xml containers/library/library.xml containers/shapes/shapes.xml containers/spellcheck/spellcheck.xml containers/wordcount/wordcount.xml containers/wordfreq/wordfreq.xml oo_interfaces/oo_interfaces.xml oo_airline/oo_airline.xml altivec/altivec.xml; do cat "/usr/local/gnat2017/share/examples/gnat/$d" >> "/usr/local/gnat2017/share/examples/gnat"/gnat-examples.xml; done
cat "/usr/local/gnat2017/share/examples/gnat"/footer.xml >> "/usr/local/gnat2017/share/examples/gnat"/gnat-examples.xml
sed "s:PREFIX:/usr/local/gnat2017:" "/usr/local/gnat2017/share/examples/gnat"/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/local/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="/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=/usr/local/gnat2017/bin:$PATH
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$ 


But how do I use the program? Do I have gps now? If yes, how do I open it? 
I am so sorry for all these questions, I just really want to learn programming and we're using Ada at our school



  reply	other threads:[~2018-01-08 18:53 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-06  0:54 Ada download sophia.adampour
2018-01-06 11:54 ` Brian Drummond
2018-01-06 12:42   ` sophia.adampour
2018-01-06 13:36     ` Simon Wright
2018-01-06 19:17       ` sophia.adampour
2018-01-06 20:05         ` Simon Wright
2018-01-08 12:21           ` sophia.adampour
2018-01-08 18:53             ` sophia.adampour [this message]
2018-01-08 20:13               ` Dennis Lee Bieber
2018-01-08 20:34               ` Anh Vo
2018-01-08 21:29             ` Simon Wright
2018-01-12  0:07               ` sophia.adampour
2018-01-12  9:39                 ` Simon Wright
2018-01-14 16:08                   ` sophia.adampour
2018-01-14 16:12                     ` sophia.adampour
2018-01-14 18:03                     ` Simon Wright
2018-01-15 18:42                       ` sophia.adampour
2018-01-15 19:13                         ` Dennis Lee Bieber
2018-01-15 20:16                           ` Simon Wright
2018-01-06 19:21       ` sophia.adampour
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox