Initial version.

This commit is contained in:
Janet B. Anderson
2006-03-01 15:56:20 +00:00
parent a4a3ddfcdf
commit edd2499824
3 changed files with 94 additions and 0 deletions

View 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

View 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)

View 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