Makefile.arm.dslinux 739 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
## 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.

CC              =   ucfront-gcc arm-linux-elf-gcc 
CPP             =   ucfront-gcc arm-linux-elf-g++
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
LD              =   arm-linux-elf-ld
TARGET_LDFLAGS  =   -Wl,-elf2flt -D__PIC__ -fpic -msingle-pic-base -mswp-byte-writes -lpthread -lrt

target-clean: