diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-01-29 14:01:39 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-01-29 14:01:39 +0000 |
commit | 0310abc2e3f9bd819e574be4b509e1bca20ee253 (patch) | |
tree | 136e257b3f85540c241a7b0c8bf364c6f783b4f6 | |
parent | Changed to reflect 3.12p. (diff) | |
download | ada-examples-0310abc2e3f9bd819e574be4b509e1bca20ee253.tar.bz2 |
2003-01-29 Joel Sherrill <joel@OARcorp.com>
* hello_world_ada/Makefile.pc386: Updated to work with gnat in gcc
3.2.1.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | hello_world_ada/Makefile.pc386 | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..0c66fba --- /dev/null +++ b/ChangeLog @@ -0,0 +1,5 @@ +2003-01-29 Joel Sherrill <joel@OARcorp.com> + + * hello_world_ada/Makefile.pc386: Updated to work with gnat in gcc + 3.2.1. + diff --git a/hello_world_ada/Makefile.pc386 b/hello_world_ada/Makefile.pc386 index 1aac9df..f82cc1c 100644 --- a/hello_world_ada/Makefile.pc386 +++ b/hello_world_ada/Makefile.pc386 @@ -6,8 +6,8 @@ MAIN=hello # Tool paths target=i386-rtems -tooldir=/home/joel/gnat-3.10p/${target}/ -rtemsdir=${tooldir}/rtems/pc386 +tooldir=/opt/rtems/ +rtemsdir=${tooldir}/$(target)/pc386 # Tool names GCC=${tooldir}/bin/${target}-gcc @@ -22,7 +22,7 @@ START16ADDR=0x00097C00 RELOCADDR=0x00100000 CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems \ - -Wl,-Ttext,$(RELOCADDR) -Wl,--oformat,elf32-i386 + -Wl,-Ttext,$(RELOCADDR) all: init.o $(MAIN) @@ -31,12 +31,12 @@ $(MAIN): $(MAIN).exe $(MAIN).exe: init.o $(GNATMAKE) -v -O -gnata -gnatE -gnato $(MAIN) -g -o $(MAIN).obj \ - -bargs -r \ + -bargs -Mgnat_main \ -cargs $(CARGS) \ -largs $(CARGS) init.o $(SIZE) $(MAIN).obj $(NM) -g -n $(MAIN).obj >$(MAIN).num - $(OBJCOPY) -O a.out-i386 \ + $(OBJCOPY) -O elf32-i386 \ --remove-section=.rodata \ --remove-section=.comment \ --remove-section=.note \ |