2002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>

* custom/genmongoosev.cfg: Remove -g from CPU_CFLAGS.
	* custom/h8sim.cfg: Remove -g from CPU_CFLAGS. Remove GCC272
	support.
	* custom/jmr3904.cfg: Remove -g from CPU_CFLAGS. Remove GCC272.
This commit is contained in:
Joel Sherrill
2002-01-06 20:09:43 +00:00
parent 3f345bf88c
commit 88f60e26a8
7 changed files with 16 additions and 28 deletions

View File

@@ -269,7 +269,8 @@ LINK_FILES =\
$(CONSTRUCTOR) \
$(OBJS) \
$(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel) \
$(PROJECT_RELEASE)/lib/librtemsall$(LIBSUFFIX_VA)
$(PROJECT_RELEASE)/lib/librtemsbsp$(LIBSUFFIX_VA)
$(PROJECT_RELEASE)/lib/librtemscpu$(LIBSUFFIX_VA)
ifeq ($(RTEMS_USE_GCC272),yes)
LINK_LIBS = $(PROJECT_RELEASE)/lib/librtemsall$(LIBSUFFIX_VA)

View File

@@ -1,3 +1,10 @@
2002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/genmongoosev.cfg: Remove -g from CPU_CFLAGS.
* custom/h8sim.cfg: Remove -g from CPU_CFLAGS. Remove GCC272
support.
* custom/jmr3904.cfg: Remove -g from CPU_CFLAGS. Remove GCC272.
2001-12-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/Cygwin-posix.cfg: Remove -DMALLOC_PROVIDED.

View File

@@ -265,7 +265,8 @@ LINK_FILES= $(START_FILE) \
$(LD_LIBS) \
$(LIBC_EXTRA_LIBS) \
$(PROJECT_RELEASE)/lib/libtest$(LIBSUFFIX_VA) \
$(PROJECT_RELEASE)/lib/librtemsall$(LIBSUFFIX_VA) \
$(PROJECT_RELEASE)/lib/librtemsbsp$(LIBSUFFIX_VA) \
$(PROJECT_RELEASE)/lib/librtemscpu$(LIBSUFFIX_VA) \
$(LIBC_LIBM) $(LIBC_LIBC) $(LIBGCC)
# Here is the rule to actually build a $(ARCH)/foo.exe

View File

@@ -269,7 +269,8 @@ LINK_FILES =\
$(CONSTRUCTOR) \
$(OBJS) \
$(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel) \
$(PROJECT_RELEASE)/lib/librtemsall$(LIBSUFFIX_VA)
$(PROJECT_RELEASE)/lib/librtemsbsp$(LIBSUFFIX_VA)
$(PROJECT_RELEASE)/lib/librtemscpu$(LIBSUFFIX_VA)
ifeq ($(RTEMS_USE_GCC272),yes)
LINK_LIBS = $(PROJECT_RELEASE)/lib/librtemsall$(LIBSUFFIX_VA)

View File

@@ -15,7 +15,7 @@ RTEMS_BSP_FAMILY=genmongoosev
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
CPU_CFLAGS=-mips1 -g -G0
CPU_CFLAGS=-mips1 -G0
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS

View File

@@ -20,22 +20,12 @@ CPU_CFLAGS=-mh -mint32
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
CFLAGS_OPTIMIZE_V=-O0 -g
CFLAGS_OPTIMIZE_V=-O0
# The following are definitions of make-exe which will work using ld as
# is currently required. It is expected that as of gcc 2.8, the end user
# will be able to override parts of the compilers specs and link using gcc.
ifeq ($(RTEMS_USE_GCC272),yes)
define make-exe
$(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
$(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
$(NM) -g -n $(basename $@).exe > $(basename $@).num
$(SIZE) $(basename $@).exe
endef
else
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
$(LDLIBS) -o $@ \
@@ -43,7 +33,6 @@ define make-exe
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef
endif
# Miscellaneous additions go here

View File

@@ -15,7 +15,7 @@ RTEMS_BSP_FAMILY=jmr3904
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
CPU_CFLAGS=-m3900 -g -G0
CPU_CFLAGS=-m3900 -G0
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
@@ -25,16 +25,6 @@ CFLAGS_OPTIMIZE_V=-O2 -g
# is currently required. It is expected that as of gcc 2.8, the end user
# will be able to override parts of the compilers specs and link using gcc.
ifeq ($(RTEMS_USE_GCC272),yes)
define make-exe
$(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
$(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
$(NM) -g -n $(basename $@).exe > $(basename $@).num
$(SIZE) $(basename $@).exe
endef
else
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
$(LDLIBS) -o $@ \
@@ -42,7 +32,6 @@ define make-exe
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef
endif
# Miscellaneous additions go here