diff --git a/configure/os/CONFIG.Common.linux-ppc b/configure/os/CONFIG.Common.linux-ppc new file mode 100644 index 000000000..28d5cd857 --- /dev/null +++ b/configure/os/CONFIG.Common.linux-ppc @@ -0,0 +1,18 @@ +# CONFIG.Common.linux-ppc +# +# This file is maintained by the build community. +# +# Definitions for linux-ppc target builds +# Sites may override these definitions in CONFIG_SITE.Common.linux-ppc +#------------------------------------------------------- + +# Include definitions common to all Unix targets +include $(CONFIG)/os/CONFIG.Common.linuxCommon + +# +# Set OS-specific information +# +ARCH_CLASS = ppc + +ARCH_DEP_CPPFLAGS += -D_ppc_ + diff --git a/configure/os/CONFIG.linux-ppc.Common b/configure/os/CONFIG.linux-ppc.Common new file mode 100644 index 000000000..4f62e1d02 --- /dev/null +++ b/configure/os/CONFIG.linux-ppc.Common @@ -0,0 +1,12 @@ +# CONFIG.linux-ppc.Common +# +# This file is maintained by the build community. +# +# Definitions for linux-ppc host builds +# Sites may override these definitions in CONFIG_SITE.linux-ppc.Common +#------------------------------------------------------- + +#Include definitions common to unix hosts +include $(CONFIG)/os/CONFIG.UnixCommon.Common + +WIND_HOST_TYPE = ppc-linux diff --git a/configure/os/CONFIG.linux-ppc.linux-ppc b/configure/os/CONFIG.linux-ppc.linux-ppc new file mode 100644 index 000000000..7fa3b4b91 --- /dev/null +++ b/configure/os/CONFIG.linux-ppc.linux-ppc @@ -0,0 +1,20 @@ +# CONFIG.linux-ppc.linux-ppc +# +# +# Definitions for linux-ppc host - linux-ppc target builds +# Sites may override these definitions in CONFIG_SITE.linux-ppc.linux-ppc +#------------------------------------------------------- + +# Include common gnu compiler definitions +include $(CONFIG)/CONFIG.gnuCommon + +GNU_DIR = /usr + +CC = $(GNU_BIN)/gcc +CCC = $(GNU_BIN)/g++ + +SHRLIB_LDFLAGS = -shared -fPIC +LOADABLE_SHRLIB_LDFLAGS = -shared -fPIC + +GNU_LDLIBS_YES = -lgcc +