diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-10-17 20:55:06 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-10-17 20:55:06 +0000 |
commit | 14f44a3474b5177a73aede9d3ab142ab003f5796 (patch) | |
tree | eeab866e741b2a851d712497384f45ea56717863 /empty | |
parent | 2007-10-17 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | ada-examples-14f44a3474b5177a73aede9d3ab142ab003f5796.tar.bz2 |
2007-10-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile, Makefile.shared, rtems_init.c, irq_test/interrupt_pkg.adb,
irq_test/interrupt_pkg.ads, irq_test/irqforce.c,
irq_test/irqtest.adb, rootfs/etc/hosts: Adding new tests as
improvements are made to the RTEMS port of the GNAT run-time.
* empty/Makefile, empty/README, empty/empty.adb,
hello_via_task/.cvsignore, hello_via_task/Makefile,
hello_via_task/hello.adb, irq_test/.cvsignore, irq_test/Makefile,
irq_test/README, irq_test_c/.cvsignore, irq_test_c/Makefile,
irq_test_c/README, irq_test_c/init.c, irq_test_c/irqforce.c: New files.
Diffstat (limited to 'empty')
-rw-r--r-- | empty/Makefile | 25 | ||||
-rw-r--r-- | empty/README | 6 | ||||
-rw-r--r-- | empty/empty.adb | 14 |
3 files changed, 45 insertions, 0 deletions
diff --git a/empty/Makefile b/empty/Makefile new file mode 100644 index 0000000..be160ba --- /dev/null +++ b/empty/Makefile @@ -0,0 +1,25 @@ +# +# Makefile for Ada Dump URL example +# +# See README.Makefiles in the main ada-examples directory. +# + +PROGRAM=empty + +include $(RTEMS_MAKEFILE_PATH)/Makefile.inc +include $(RTEMS_CUSTOM) +include $(PROJECT_ROOT)/make/leaf.cfg + +# stack size for the first Ada thread +CFLAGS +=-DGNAT_MAIN_STACKSPACE=100 + +# initialize the network stack -- assumes existence of networkconfig.h +# CFLAGS +=-DMAIN_USE_NETWORKING=1 + +# Should we prompt for command line arguments? +# DEFINES +=-DMAIN_USE_REQUIRES_COMMAND_LINE + +# If you want to hard-code the command line, define this to a string +# DEFINES += -DMAIN_COMMAND_LINE="ARGS" + +include ../Makefile.shared diff --git a/empty/README b/empty/README new file mode 100644 index 0000000..89e03e4 --- /dev/null +++ b/empty/README @@ -0,0 +1,6 @@ +# +# $Id$ +# + +This directory contains a Null Ada program. Its primary purpose +is to illustrate how much the GNU Ada run-time pulls in. diff --git a/empty/empty.adb b/empty/empty.adb new file mode 100644 index 0000000..b811fe6 --- /dev/null +++ b/empty/empty.adb @@ -0,0 +1,14 @@ +-- +-- +-- The license and distribution terms for this file may be +-- found in the file LICENSE in this distribution or at +-- http://www.rtems.com/license/LICENSE. +-- +-- Null Main Program +-- + +procedure Empty is +begin + Null; +end Empty; + |