Initial version.
This commit is contained in:
38
configure/os/CONFIG.Common.interix-x86
Normal file
38
configure/os/CONFIG.Common.interix-x86
Normal file
@@ -0,0 +1,38 @@
|
||||
# CONFIG.Common.interix-x86
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for interix-x86 target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.interix-x86
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all Unix targets
|
||||
include $(CONFIG)/os/CONFIG.Common.UnixCommon
|
||||
|
||||
OS_CLASS = interix
|
||||
ARCH_CLASS = x86
|
||||
|
||||
EXE=
|
||||
|
||||
POSIX_CPPFLAGS = -D_POSIX_C_SOURCE=199506L
|
||||
POSIX_CPPFLAGS += -D_POSIX_THREADS
|
||||
POSIX_CPPFLAGS += -D_ALL_SOURCE
|
||||
POSIX_CPPFLAGS += -D_POSIX_TIMERS
|
||||
|
||||
POSIX_CPPFLAGS += -D_REENTRANT
|
||||
|
||||
POSIX_LDLIBS += -lpthread
|
||||
|
||||
ARCH_DEP_CPPFLAGS += -D_X86_
|
||||
|
||||
OP_SYS_CPPFLAGS += -DUNIX
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
|
||||
|
||||
# Definitions used when COMMANDLINE_LIBRARY is READLINE
|
||||
INCLUDES_READLINE = -I$(GNU_DIR)/include
|
||||
LDFLAGS_READLINE += -L$(GNU_DIR)/lib
|
||||
LDLIBS_READLINE = -lreadline
|
||||
|
||||
22
configure/os/CONFIG.interix-x86.Common
Normal file
22
configure/os/CONFIG.interix-x86.Common
Normal file
@@ -0,0 +1,22 @@
|
||||
# CONFIG.interix-x86.Common
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for interix-x86 host archs
|
||||
# Sites may override these definitions in CONFIG_SITE.interix-x86.Common
|
||||
#-------------------------------------------------------
|
||||
|
||||
#Include definitions common to unix hosts
|
||||
include $(CONFIG)/os/CONFIG.UnixCommon.Common
|
||||
|
||||
WIND_HOST_TYPE = x86-win32
|
||||
OSITHREAD_USE_DEFAULT_STACK = NO
|
||||
|
||||
#HOSTEXE=.exe
|
||||
HOSTEXE=
|
||||
|
||||
# Needed to find dlls for base installed build tools (antelope,eflex,...)
|
||||
#PATH := $(EPICS_BASE_TOOLS_BIN):$(PATH)
|
||||
|
||||
|
||||
34
configure/os/CONFIG.interix-x86.interix-x86
Normal file
34
configure/os/CONFIG.interix-x86.interix-x86
Normal file
@@ -0,0 +1,34 @@
|
||||
# CONFIG.interix-x86.interix-x86
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Definitions for interix-x86 host - interix-x86 target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.interix-x86.interix-x86
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include common gnu compiler definitions
|
||||
include $(CONFIG)/CONFIG.gnuCommon
|
||||
|
||||
## Shared libraries for interix not implemented yet
|
||||
SHARED_LIBRARIES=NO
|
||||
|
||||
# interix's gcc, g++, ar, ld, and ranlib must be in user's path
|
||||
CC = gcc
|
||||
CCC = g++
|
||||
AR = ar -rc
|
||||
LD = ld -r
|
||||
#######RANLIB = ranlib # ranlib exists but is not found ???
|
||||
RANLIB =
|
||||
|
||||
# Avoid position-independent code is always generated message
|
||||
SHRLIB_CFLAGS =
|
||||
SHRLIB_LDFLAGS = -shared -fPIC
|
||||
LOADABLE_SHRLIB_LDFLAGS = -shared -fPIC
|
||||
|
||||
# -ansi eliminates strdup
|
||||
#CONFORM_CFLAGS_ANSI =
|
||||
#CONFORM_CFLAGS_STRICT = -pedantic
|
||||
#CONFORM_CXXFLAGS_ANSI =
|
||||
#CONFORM_CXXFLAGS_STRICT = -pedantic
|
||||
|
||||
|
||||
Reference in New Issue
Block a user