gcc_linux_mips.build 837 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#define TARGET_LINUX
#define MIPS
#define RESOURCE_COREC

PLATFORMLIB = linux_mips
SVNDIR = linux_mips

#define OUTPUT_EXE     %(NAME)
#define OUTPUT_CON     %(NAME)
#define OUTPUT_DLL     lib%(NAME).so
#define OUTPUT_DLL_LIB lib%(NAME).so
#define OUTPUT_LIB     lib%(NAME).a

#define CC mipsel-linux-gcc
#define CXX mipsel-linux-g++
#define AR mipsel-linux-ar
#define STRIP mipsel-linux-strip
#define STRIPFLAGS -s -x

#define GLIBC

#define CCFLAGS -DNDEBUG -DMIPS -Wno-multichar -mno-explicit-relocs -fomit-frame-pointer -fsigned-char -march=mips32 -O2 -fvisibility=hidden -DRESOURCE_COREC
#define SFLAGS -DNDEBUG -DMIPS -Wno-multichar -mno-explicit-relocs -fomit-frame-pointer -fsigned-char -march=mips32 -O2 -D_HIDDEN
#define SHFLAGS -shared -Wl,--strip-all
#define CXXFLAGS -fno-rtti

#include "gcc.inc"