Initial version.

This commit is contained in:
Janet B. Anderson
2005-10-28 15:59:35 +00:00
parent bffda92e45
commit 911efd67e4
4 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# CONFIG.Common.win32-x86-mingw
#
# $Id$
# This file is maintained by the build community.
#
# Definitions for win32-x86-mingw target builds
# Sites may override these definitions in CONFIG_SITE.Common.win32-x86-mingw
#-------------------------------------------------------
# Include definitions common to all Unix targets
include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = WIN32
ARCH_CLASS = x86
EXE=.exe
POSIX_CPPFLAGS_YES = -D_POSIX_SOURCE
ARCH_DEP_CPPFLAGS += -D_X86_
# Library used when COMMANDLINE_LIBRARY is READLINE
LDLIBS_READLINE = -lreadline
# Compiler defines _WIN32 and WIN32
OP_SYS_CPPFLAGS =

View File

@@ -0,0 +1,32 @@
# CONFIG.win32-x86-mingw.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
CP = $(PERL) $(CONFIG)/tools/cp.pl
MV = $(PERL) $(CONFIG)/tools/mv.pl
RM = $(PERL) $(CONFIG)/tools/rm.pl -f
MKDIR = $(PERL) $(CONFIG)/tools/mkdir.pl
RMDIR = $(PERL) $(CONFIG)/tools/rm.pl -rf
ECHO = echo
HOSTEXE=.exe
WIND_HOST_TYPE = x86-win32
# osithead use default stack, YES or NO override
OSITHREAD_USE_DEFAULT_STACK = NO
# DLL build not supported yet
# Needed to find dlls for base installed build tools (antelope,eflex,...)
#PATH := $(EPICS_BASE_TOOLS_BIN):$(PATH)

View File

@@ -0,0 +1,33 @@
# CONFIG.win32-x86-mingw.win32-x86-mingw
#
# $Id$
#
# Definitions for win32-x86-mingw host - win32-x86-mingw target builds
# Sites may override these definitions in CONFIG_SITE.win32-x86-mingw.win32-x86-mingw
#-------------------------------------------------------
# Include common gnu compiler definitions
include $(CONFIG)/CONFIG.gnuCommon
# Shared libraries not implemented
SHARED_LIBRARIES=NO
# 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 =
# Dont use -ansi option: eliminates strdup and _tempnam
CONFORM_CFLAGS_ANSI =
CONFORM_CFLAGS_STRICT = -pedantic
CONFORM_CXXFLAGS_ANSI =
CONFORM_CXXFLAGS_STRICT = -pedantic
# Override linking with gcc library
GNU_LDLIBS_YES =

View File

@@ -0,0 +1,17 @@
# CONFIG_SITE.Common.win32-x86-mingw
#
# $Id$
#
# Site Specific definitions for cygwin-x86 target
# Only the local epics system manager should modify this file
# If readline is not installed comment the following line
# to omit command-line editing and history support
#COMMANDLINE_LIBRARY = READLINE
# Needed to find dlls for gcc, g++, as, cpp, ...
# if MINGW_BIN not in user's path
MINGW_BIN=C:/MinGW/bin
export PATH := $(MINGW_BIN):$(PATH)
PERL=c:/cygwin/bin/perl.exe