-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathgcc_palmos.build
More file actions
25 lines (18 loc) · 853 Bytes
/
gcc_palmos.build
File metadata and controls
25 lines (18 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#define TARGET_PALMOS
#define ARM
PLATFORMLIB = palm_arm
SVNDIR = palm_arm
#define OUTPUT_EXE %(NAME).prc
#define OUTPUT_DLL %(NAME).prc
#define OUTPUT_LIB lib%(NAME).a
#define CC arm-tcpmp-palmos-gcc
#define CXX arm-tcpmp-palmos-g++
#define AR arm-tcpmp-palmos-ar
#define CXX_HOST g++
#define CC_M68K m68k-palmos-gcc
#define CCFLAGS -DARM -D__GLIBC__ -pipe -Wno-multichar -fshort-enums -O3 -mno-apcs-frame -fomit-frame-pointer -fsigned-char -march=armv4 -mtune=xscale
#define SFLAGS -DARM -D__GLIBC__ -pipe -Wno-multichar -fshort-enums -O3 -mno-apcs-frame -fomit-frame-pointer -fsigned-char -mcpu=iwmmxt -mtune=xscale
#define LFLAGS -Wl,--split-by-file=63000 -Wl,--emit-relocs -nostartfiles
#define CFLAGS_M68K -pipe -O3 -mnoshort
#define LFLAGS_M68K -L/usr/local/share/palmdev/sdk/lib/m68k-palmos-coff -lPalmOSGlue -lc -lgcc
#include "gcc.inc"