Changeset 6ee6abb in rtems
- Timestamp:
- 05/18/98 16:38:38 (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 7ebfa93
- Parents:
- 60fa630
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/make/compilers/gcc-target-default.cfg
r60fa630 r6ee6abb 21 21 22 22 ifeq ($(RTEMS_USE_GCC272),yes) 23 ifeq ($(RTEMS_CROSS_TARGET),no) 24 25 ifdef RTEMS_LIBC_DIR 26 RTEMS_LIBC_INCLUDES := -I$(RTEMS_LIBC_DIR)/include 27 endif 28 29 # Used for posix bsps 30 CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \ 31 -I$(PROJECT_INCLUDE) \ 32 $(INCLUDE_KA9Q) \ 33 $(RTEMS_LIBC_INCLUDES) $(DEFINES) 34 35 ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g \ 36 -I$(PROJECT_INCLUDE) \ 37 $(RTEMS_LIBC_INCLUDES) $(DEFINES) 38 else 39 # Used for embedded bsps 23 40 # Ask gcc where it finds its own include files 24 41 GCC_INCLUDE=$(shell $(CC) $(CPU_CFLAGS) -print-file-name=include) … … 32 49 -nostdinc -I$(PROJECT_INCLUDE) \ 33 50 -I$(RTEMS_LIBC_DIR)/include -I$(GCC_INCLUDE) $(DEFINES) 51 endif 34 52 35 53 # default location of Standard C Library … … 161 179 162 180 COMPILE.c=$(CC) $(CFLAGS) $(XCFLAGS) -c 181 COMPILE.cc=$(CXX) $(CFLAGS) $(CXXFLAGS) -fno-rtti $(XCFLAGS) -c 163 182 164 183 ${ARCH}/%.o: %.c … … 166 185 167 186 ${ARCH}/%.o: %.cc 168 ${COMPILE.c } -o $@ $<187 ${COMPILE.cc} -o $@ $< 169 188 170 189 ${ARCH}/%.o: %.S … … 240 259 LIBC_LOW= 241 260 261 ifndef LIBGCC 242 262 LIBGCC = $(shell $(CC) $(CFLAGS) -print-libgcc-file-name) 263 endif 243 264 244 265 LINK_OBJS=\ -
make/compilers/gcc-target-default.cfg
r60fa630 r6ee6abb 21 21 22 22 ifeq ($(RTEMS_USE_GCC272),yes) 23 ifeq ($(RTEMS_CROSS_TARGET),no) 24 25 ifdef RTEMS_LIBC_DIR 26 RTEMS_LIBC_INCLUDES := -I$(RTEMS_LIBC_DIR)/include 27 endif 28 29 # Used for posix bsps 30 CFLAGS_DEFAULT = $(CPU_DEFINES) $(CPU_CFLAGS) -Wall -ansi -fasm -g \ 31 -I$(PROJECT_INCLUDE) \ 32 $(INCLUDE_KA9Q) \ 33 $(RTEMS_LIBC_INCLUDES) $(DEFINES) 34 35 ASMFLAGS=$(CPU_DEFINES) $(CPU_CFLAGS) -g \ 36 -I$(PROJECT_INCLUDE) \ 37 $(RTEMS_LIBC_INCLUDES) $(DEFINES) 38 else 39 # Used for embedded bsps 23 40 # Ask gcc where it finds its own include files 24 41 GCC_INCLUDE=$(shell $(CC) $(CPU_CFLAGS) -print-file-name=include) … … 32 49 -nostdinc -I$(PROJECT_INCLUDE) \ 33 50 -I$(RTEMS_LIBC_DIR)/include -I$(GCC_INCLUDE) $(DEFINES) 51 endif 34 52 35 53 # default location of Standard C Library … … 161 179 162 180 COMPILE.c=$(CC) $(CFLAGS) $(XCFLAGS) -c 181 COMPILE.cc=$(CXX) $(CFLAGS) $(CXXFLAGS) -fno-rtti $(XCFLAGS) -c 163 182 164 183 ${ARCH}/%.o: %.c … … 166 185 167 186 ${ARCH}/%.o: %.cc 168 ${COMPILE.c } -o $@ $<187 ${COMPILE.cc} -o $@ $< 169 188 170 189 ${ARCH}/%.o: %.S … … 240 259 LIBC_LOW= 241 260 261 ifndef LIBGCC 242 262 LIBGCC = $(shell $(CC) $(CFLAGS) -print-libgcc-file-name) 263 endif 243 264 244 265 LINK_OBJS=\
Note: See TracChangeset
for help on using the changeset viewer.