gcc_linux_ppc.build 646 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 28
#define TARGET_LINUX
#define POWERPC
#define PPC

PLATFORMLIB = linux_ppc
SVNDIR = linux_ppc

#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 gcc
//#define CXX g++
//#define AR ar
#define ASM as
#define STRIP strip
#define STRIPFLAGS -s -x

#define GLIBC

#define CCFLAGS -DNDEBUG -O3 -Wno-multichar -fPIC -fno-strict-aliasing -maltivec -mabi=altivec -fvisibility=hidden
#define ASMFLAGS -f elf -D_HIDDEN
#define LFLAGS
#define SHFLAGS -shared -Wl,--strip-all

#include "gcc.inc"