Initial version.
This commit is contained in:
52
configure/os/CONFIG.Common.win32-x86-cygwin
Normal file
52
configure/os/CONFIG.Common.win32-x86-cygwin
Normal file
@@ -0,0 +1,52 @@
|
||||
# CONFIG.Common.win32-x86-cygwin
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for cygwin-x86 target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.Common.cygwin-x86
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include definitions common to all Unix targets
|
||||
include $(CONFIG)/os/CONFIG.Common.UnixCommon
|
||||
|
||||
#OS_CLASS = cygwin32
|
||||
ARCH_CLASS = x86
|
||||
|
||||
EXE=.exe
|
||||
|
||||
COMPILER_CPPFLAGS = -D_REENTRANT
|
||||
|
||||
#POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE=199506L -D_POSIX_THREADS -D_POSIX_TIMERS
|
||||
# _POSIX_SOURCE eliminates select()
|
||||
#POSIX_CPPFLAGS_YES = -D_POSIX_THREADS -D_POSIX_TIMERS
|
||||
#POSIX_LDLIBS_YES += -lpthread
|
||||
##POSIX_LDLIBS_YES += -lpthread
|
||||
|
||||
ARCH_DEP_CPPFLAGS += -D_X86_
|
||||
|
||||
# Set runtime path for shared libraries
|
||||
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)
|
||||
|
||||
####LDLIBS_READLINE = -lcygreadline5 -lcygcurses7
|
||||
|
||||
|
||||
|
||||
OS_CLASS = WIN32
|
||||
|
||||
OP_SYS_CPPFLAGS = -D_WIN32=1 -D__WIN32=1 -D__MINGW32__=1 -DWIN32=1 -D__WIN32__=1 -DWINNT=1
|
||||
OP_SYS_CPPFLAGS += -U__unix__ -Uunix -U__CYGWIN__ -U__unix -U__CYGWIN32__
|
||||
OP_SYS_CPPFLAGS += -D__MSVCRT__
|
||||
|
||||
OP_SYS_CXXFLAGS += -D__cplusplus
|
||||
|
||||
OP_SYS_LDFLAGS += -mno_cygwin
|
||||
|
||||
OP_SYS_LDLIBS =
|
||||
|
||||
|
||||
#OP_SYS_CPPFLAGS = -mno_cygwin
|
||||
#-D_WIN32=1 -U__unix__ -Uunix -U__CYGWIN__ -U__unix -D__MSVCRT__ -D__WIN32=1 -D__MINGW32__=1 -DWIN32=1 -U__CYGWIN32__ -D__WIN32__=1 -DWINNT=1
|
||||
|
||||
|
||||
|
||||
20
configure/os/CONFIG.win32-x86-cygwin.Common
Normal file
20
configure/os/CONFIG.win32-x86-cygwin.Common
Normal file
@@ -0,0 +1,20 @@
|
||||
# CONFIG.win32-x86-cygwin.Common
|
||||
#
|
||||
# $Id$
|
||||
# This file is maintained by the build community.
|
||||
#
|
||||
# Definitions for win32-x86-cygwin host archs
|
||||
# Sites may override these definitions in CONFIG_SITE.win32-x86-cygwin.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
|
||||
|
||||
# Needed to find dlls for base installed build tools (antelope,eflex,...)
|
||||
PATH := $(EPICS_BASE_TOOLS_BIN):$(PATH)
|
||||
|
||||
30
configure/os/CONFIG.win32-x86-cygwin.win32-x86-cygwin
Normal file
30
configure/os/CONFIG.win32-x86-cygwin.win32-x86-cygwin
Normal file
@@ -0,0 +1,30 @@
|
||||
# CONFIG.win32-x86-cygwin.win32-x86-cygwin
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Definitions for win32-x86-cygwin host - win32-x86-cygwin target builds
|
||||
# Sites may override these definitions in CONFIG_SITE.win32-x86-cygwin.win32-x86-cygwin
|
||||
#-------------------------------------------------------
|
||||
|
||||
# Include common gnu compiler definitions
|
||||
include $(CONFIG)/CONFIG.gnuCommon
|
||||
|
||||
## Shared libraries for cygwin not implemented yet
|
||||
SHARED_LIBRARIES=NO
|
||||
|
||||
# cygwin'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
|
||||
|
||||
# Avoid position-independent code is always generated message
|
||||
SHRLIB_CFLAGS =
|
||||
|
||||
# -ansi eliminates strdup
|
||||
CONFORM_CFLAGS_ANSI =
|
||||
CONFORM_CFLAGS_STRICT = -pedantic
|
||||
CONFORM_CXXFLAGS_ANSI =
|
||||
CONFORM_CXXFLAGS_STRICT = -pedantic
|
||||
|
||||
Reference in New Issue
Block a user