diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-01-29 14:04:21 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-01-29 14:04:21 +0000 |
commit | 3ea740645b47172c30a5b9af09529f5368ae9e68 (patch) | |
tree | e9d3d7ee3b6c87133f20a2bd54416db35249960e /hello_world_ada | |
parent | 2003-01-29 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | ada-examples-3ea740645b47172c30a5b9af09529f5368ae9e68.tar.bz2 |
2003-01-29 Joel Sherrill <joel@OARcorp.com>
* hello_world_ada/README.ERC32, hello_world_ada/README.PSIM: Now
include CVS Ids.
* hello_world_ada/Makefile.jmr3904: New file.
Diffstat (limited to 'hello_world_ada')
-rw-r--r-- | hello_world_ada/Makefile.jmr3904 | 41 | ||||
-rw-r--r-- | hello_world_ada/README.ERC32 | 3 | ||||
-rw-r--r-- | hello_world_ada/README.PSIM | 3 |
3 files changed, 47 insertions, 0 deletions
diff --git a/hello_world_ada/Makefile.jmr3904 b/hello_world_ada/Makefile.jmr3904 new file mode 100644 index 0000000..8fc1420 --- /dev/null +++ b/hello_world_ada/Makefile.jmr3904 @@ -0,0 +1,41 @@ +# +# Makefile for hello world example +# + +MAIN=hello + +# Tool paths +target=mips-rtems +tooldir=/opt/rtems/ +rtemsdir=${tooldir}/$(target)/jmr3904 + +# Tool names +GCC=${tooldir}/bin/${target}-gcc +GNATMAKE=${tooldir}/bin/${target}-gnatmake +SIZE=${tooldir}/bin/${target}-size +RUN=${tooldir}/bin/mipstx39-rtems-run +GDB=${tooldir}/bin/mipstx39-rtems-gdb + +CARGS=-B$(rtemsdir)/lib/ -specs bsp_specs -qrtems -march=r3900 -G0 + +# -bargs -r +all: init.o + $(GNATMAKE) -v -O -gnata -gnatE -gnato $(MAIN) -g \ + -bargs -Mgnat_main \ + -cargs $(CARGS) \ + -largs $(CARGS) init.o + $(SIZE) $(MAIN) + + + +init.o: init.c + $(GCC) -O4 -g -Wall -ansi -fasm $(CARGS) -c init.c + +run: + $(RUN) $(MAIN) + +gdb: + $(GDB) $(MAIN) + +clean: + rm -f b_$(MAIN).c b_$(MAIN).o *.o *.ali $(MAIN) diff --git a/hello_world_ada/README.ERC32 b/hello_world_ada/README.ERC32 index d058c31..59ab0b3 100644 --- a/hello_world_ada/README.ERC32 +++ b/hello_world_ada/README.ERC32 @@ -1,3 +1,6 @@ +# +# $Id$ +# In this directory, there are the following files: diff --git a/hello_world_ada/README.PSIM b/hello_world_ada/README.PSIM index 4e4eade..afa4ee4 100644 --- a/hello_world_ada/README.PSIM +++ b/hello_world_ada/README.PSIM @@ -1,3 +1,6 @@ +# +# $Id$ +# In this directory, there are the following files: |