Makefile.arm.dslinux 777 Bytes
Newer Older
1 2 3 4 5 6 7
## This file is a part of PolyORB-HI-C software.
## It sets some variables useful to compile generated
## code to the Nintendo DS machine using DSLinux.

## To use and compile examples for DSLinux, get the
## toolchain at http://www.dslinux.org.

8
CC              =   ucfront-gcc arm-linux-elf-gcc
9
CPP             =   ucfront-gcc arm-linux-elf-g++
10 11
TARGET_CFLAGS   =   -O2 -g -fomit-frame-pointer -fno-common -fno-builtin -Wall  -mswp-byte-writes -DCONFIG_NDS_ROM8BIT -mcpu=arm946e-s -mfpu=fpe3 -DEMBED -D__PIC__ -fpic -msingle-pic-base -Dlinux -D__linux__ -Dunix -D__uClinux__ -DPOSIX=1 $(GCC_GENERIC_FLAGS)
LD              =   arm-linux-elf-gcc
12 13 14
TARGET_LDFLAGS  =   -Wl,-elf2flt -D__PIC__ -fpic -msingle-pic-base -mswp-byte-writes -lpthread -lrt

target-clean:
15 16

target-objects: