diff options
-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 |