diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-08-31 19:21:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-08-31 19:21:15 +0000 |
commit | 162291d85aa97147e4cd58b88c25931b29c2a85c (patch) | |
tree | c83779c24030a7e3353ba30e8c92f5377f7d0c7b | |
parent | Changed version to 4.5.0. (diff) | |
download | ada-examples-162291d85aa97147e4cd58b88c25931b29c2a85c.tar.bz2 |
2001-08-30 Joel Sherrill <joel@OARcorp.com>
* gdb.psim: Removed.
* Makefile.erc32, Makefile.psim: Updated.
-rw-r--r-- | hello_world_ada/Makefile.erc32 | 6 | ||||
-rw-r--r-- | hello_world_ada/Makefile.psim | 8 | ||||
-rw-r--r-- | hello_world_ada/gdb.psim | 2 |
3 files changed, 7 insertions, 9 deletions
diff --git a/hello_world_ada/Makefile.erc32 b/hello_world_ada/Makefile.erc32 index 26230d4..b7631fe 100644 --- a/hello_world_ada/Makefile.erc32 +++ b/hello_world_ada/Makefile.erc32 @@ -6,9 +6,9 @@ MAIN=hello # Tool paths target=sparc-rtems -tooldir=/home/joel/gnat-to-test/${target}/ -tooldir=/usr2/tools_install/gnat-3.12p//${target}/ -rtemsdir=${tooldir}/erc32 +tooldir=/opt/gnatrtems +#tooldir=/usr2/tools_install/gnat-3.12p//${target}/ +rtemsdir=${tooldir}/sparc-rtems/erc32 # Tool names GCC=${tooldir}/bin/${target}-gcc diff --git a/hello_world_ada/Makefile.psim b/hello_world_ada/Makefile.psim index 3e8f09b..4b0603f 100644 --- a/hello_world_ada/Makefile.psim +++ b/hello_world_ada/Makefile.psim @@ -6,8 +6,8 @@ MAIN=hello # Tool paths target=powerpc-rtems -tooldir=/home/joel/gnat-3.11b/${target}/ -rtemsdir=${tooldir}/rtems/psim +tooldir=/opt/gnatrtems +rtemsdir=${tooldir}/${target}/psim # Tool names GCC=${tooldir}/bin/${target}-gcc @@ -20,7 +20,7 @@ CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems -mcpu=603 all: init.o $(GNATMAKE) -v -O -gnata -gnatE -gnato $(MAIN) -g \ - -bargs -r \ + -bargs -Mgnat_main \ -cargs $(CARGS) \ -largs $(CARGS) init.o $(SIZE) $(MAIN) @@ -32,7 +32,7 @@ init.o: init.c run: -$(PSIM) -o "/#address-cells 2" \ - -o "/openprom/options/oea-memory-size 4194304" $(MAIN) + -o "/openprom/options/oea-memory-size 8388608" $(MAIN) @echo Ignore the return code. It is meaningless. gdb: diff --git a/hello_world_ada/gdb.psim b/hello_world_ada/gdb.psim deleted file mode 100644 index 496f1ac..0000000 --- a/hello_world_ada/gdb.psim +++ /dev/null @@ -1,2 +0,0 @@ -tar sim -o "/#address-cells 2" -o "/openprom/options/oea-memory-size 4194304" -load |