Changeset 0310abc in ada-examples


Ignore:
Timestamp:
Jan 29, 2003, 2:01:39 PM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
ada-examples-4-10-branch, ada-examples-4-6-branch, ada-examples-4-7-branch, ada-examples-4-8-branch, ada-examples-4-9-branch, master
Children:
3ea7406
Parents:
8c02d47
Message:

2003-01-29 Joel Sherrill <joel@…>

  • hello_world_ada/Makefile.pc386: Updated to work with gnat in gcc 3.2.1.
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • hello_world_ada/Makefile.pc386

    r8c02d47 r0310abc  
    77# Tool paths
    88target=i386-rtems
    9 tooldir=/home/joel/gnat-3.10p/${target}/
    10 rtemsdir=${tooldir}/rtems/pc386
     9tooldir=/opt/rtems/
     10rtemsdir=${tooldir}/$(target)/pc386
    1111
    1212# Tool names
     
    2323
    2424CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems \
    25    -Wl,-Ttext,$(RELOCADDR) -Wl,--oformat,elf32-i386
     25   -Wl,-Ttext,$(RELOCADDR)
    2626
    2727all: init.o $(MAIN)
     
    3232$(MAIN).exe: init.o
    3333        $(GNATMAKE) -v -O -gnata -gnatE -gnato $(MAIN) -g -o $(MAIN).obj \
    34             -bargs -r \
     34            -bargs -Mgnat_main \
    3535            -cargs $(CARGS) \
    3636            -largs $(CARGS) init.o
    3737        $(SIZE) $(MAIN).obj
    3838        $(NM) -g -n $(MAIN).obj >$(MAIN).num
    39         $(OBJCOPY) -O a.out-i386 \
     39        $(OBJCOPY) -O elf32-i386 \
    4040            --remove-section=.rodata \
    4141            --remove-section=.comment \
Note: See TracChangeset for help on using the changeset viewer.