Files
pcas/configure/os/CONFIG.linux-x86.linux-x86
T
W. Eric Norum 6c1be6f025 Since all systems other than vxWorks use a C++ constructor to register sequencer
programs and commands, use C++ to compile the output of SNC.  The commands to
use C in configure/os/CONFIG.Common.vxWorksCommon are commented out for now.
If enough people have problems using C++ to compile their SNC programs the
commands may have to be uncommented.
2001-01-14 22:15:40 +00:00

42 lines
970 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
# -D_BSD_SOURCE for gethostname() in unistd.h as needed by cacChannelIO.cpp.
ARCH_DEP_CPPFLAGS += -D_BSD_SOURCE
ARCH_DEP_CPPFLAGS += -D_X86_ -Dlinux
ARCH_DEP_LDFLAGS =
ARCH_DEP_LDLIBS = -lpthread -lreadline -lcurses -lrt
# Use C++ constructors to register commands/programs (snc +i option)
CPPSNCFLAGS += -x c
TARGET_SNCFLAGS += +i