Files
epics-base/configure/os/CONFIG.linux-x86.linux-x86
W. Eric Norum 900f32c792 Add -D_BSD_SOURCE to ARCH_DEP_CPPFLAGS. This is needed to get the
prototype for gethostname() in unistd.h as needed by cacChannelIO.cpp.
Add -DIOCSH_USE_READLINE and -lreadline.
2000-05-25 18:43:18 +00:00

40 lines
846 B
Plaintext

# CONFIG.linux-x86.linux-x86
#
# $Id$
#
# This file is maintained by the build community.
# Sites may override these definitions in CONFIG_SITE.linux-x86.linux-x86
#-------------------------------------------------------
# Include definitions common to all Unix target archs
include $(CONFIG)/os/CONFIG.Common.UnixCommon
OS_CLASS = Linux
ARCH_CLASS = x86
GNU_DIR = /usr
# Configure OS vendor C compiler
# These are overrides of ANSI and CPLUSPLUS values in CONFIG_SITE
# since OS vendor compilers is gnu compiler
ANSI=GCC
CPLUSPLUS=G++
# Configure gnu C compiler
GCC = gcc
G++ = g++
AR = ar -rc
ARFLAGS =
RANLIB = ranlib -t
ARCH_DEP_CPPFLAGS += -D_BSD_SOURCE
ARCH_DEP_CPPFLAGS += -DIOCSH_USE_READLINE
ARCH_DEP_CPPFLAGS += -D_X86_ -Dlinux
ARCH_DEP_LDFLAGS =
###ARCH_DEP_LDLIBS = -ldl -lpthread
ARCH_DEP_LDLIBS = -lpthread -lreadline