Epics@GSI Webhome

<ol> <div style="overflow:auto;padding:0.5ex;border:2px solid #808080; margin:0.5ex;padding-left:1ex;padding-right:1ex; margin-top:0px"> %begin makefile% # CONFIG.linux-x86.linux-cris # # Definitions for linux-x86 host - linux-cris target builds # Sites may override these definitions in CONFIG_SITE.linux-x86.linux-cris #-------------------------------------------------------

# Include common gnu compiler definitions include $(CONFIG)/CONFIG.gnuCommon %end%

<ol> <div style="text-align:right; margin-right:3ex ;margin-bottom:0;"> <span style="padding:1px; border:2px solid #808080;"> CONFIG.gnuCommon</span></div> <div style="overflow:auto;padding:0.5ex;border:2px solid #808080; margin:0.5ex;padding-left:1ex;padding-right:1ex; margin-top:0px"> %begin makefile% #************************************************************************* # Copyright (c) 2002 The University of Chicago, as Operator of Argonne # National Laboratory. # Copyright (c) 2002 The Regents of the University of California, as # Operator of Los Alamos National Laboratory. # EPICS BASE Versions 3.13.7 # and higher are distributed subject to a Software License Agreement found # in file LICENSE that is included with this distribution. #************************************************************************* #-------------------------------------------------- # GNU compiler defaults

GNU = YES

GNU_BIN = $(GNU_DIR)/bin GNU_LIB = $(GNU_DIR)/lib

CC = $(GNU_BIN)/$(CMPLR_PREFIX)gcc$(CMPLR_SUFFIX) CCC = $(GNU_BIN)/$(CMPLR_PREFIX)g++$(CMPLR_SUFFIX) AR = $(GNU_BIN)/$(CMPLR_PREFIX)ar$(CMPLR_SUFFIX) -rc LD = $(GNU_BIN)/$(CMPLR_PREFIX)ld$(CMPLR_SUFFIX) -r CPP = $(CC) -x c -E RANLIB = $(GNU_BIN)/$(CMPLR_PREFIX)ranlib$(CMPLR_SUFFIX)

CONFORM_CFLAGS_ANSI = -ansi CONFORM_CFLAGS_STRICT = -ansi CONFORM_CFLAGS_TRAD = -traditional PROF_CFLAGS_YES = -p GPROF_CFLAGS_YES = -pg CODE_CFLAGS = $(PROF_CFLAGS_$(PROFILE)) $(GPROF_CFLAGS_$(GPROF)) WARN_CFLAGS_YES = -Wall WARN_CFLAGS_NO = -w OPT_CFLAGS_YES = -O3 OPT_CFLAGS_NO = -g

CONFORM_CXXFLAGS_NORMAL = -ansi CONFORM_CXXFLAGS_STRICT = -ansi PROF_CXXFLAGS_YES = -p GPROF_CXXFLAGS_YES = -pg CODE_CXXFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF)) WARN_CXXFLAGS_YES = -Wall WARN_CXXFLAGS_NO = -w OPT_CXXFLAGS_YES = -O3 OPT_CXXFLAGS_NO = -g

CODE_LDFLAGS = $(PROF_CXXFLAGS_$(PROFILE)) $(GPROF_CXXFLAGS_$(GPROF))

STATIC_LDFLAGS_YES = -static STATIC_LDFLAGS_NO =

SHRLIB_CFLAGS = -fPIC

GNU_LDLIBS_YES = -lgcc

%end%

%begin makefile% GNU_DIR = /misc/zumbruch/playground/ETRAX/compiler/cris-tools #maybe replace by AXIS_DIR/build/tools ?

# Copied from x86.x86 STATIC_LDFLAGS_YES= -Wl,-Bstatic STATIC_LDFLAGS_NO= STATIC_LDLIBS_YES= -Wl,-Bdynamic STATIC_LDLIBS_NO=

SHRLIB_LDFLAGS += -shared -fPIC LOADABLE_SHRLIB_LDFLAGS = -shared -fPIC

#OPT_CXXFLAGS_YES = OPT_CXXFLAGS_YES = -Os

%end%

-- PeterZumbruch - 22 Aug 2007
Topic revision: r3 - 2007-08-22, PeterZumbruch - This page was cached on 2024-12-12 - 05:36.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Legal notice | Privacy Policy (german)