Changeset 978f59a in rtems


Ignore:
Timestamp:
04/16/02 13:53:49 (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
5376ca1
Parents:
cb9b2bfc
Message:

2002-04-14 Ralf Corsepius <corsepiu@…>

  • automake/compile.am: Remove GCC272 support. Remove *.sh rule (unused).
  • configure.ac: Remove ENABLE_GCC28. Remove ENABLE_LIBCDIR.
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rcb9b2bfc r978f59a  
     12002-04-14      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * automake/compile.am: Remove GCC272 support.
     4        Remove *.sh rule (unused).
     5        * configure.ac: Remove ENABLE_GCC28.
     6        Remove ENABLE_LIBCDIR.
     7
    182002-04-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    29
  • automake/compile.am

    rcb9b2bfc r978f59a  
    2424## Automake conditionals in use:
    2525## RTEMS_USE_GCC     .. if we are using GCC
    26 ## RTEMS_USE_GCC272  .. if using gcc and if requested not to apply
    27 ##                      gcc <= 2.7.2 incompatible rules
    2826
    2927## NOTES:
    3028## * The gcc-2.8 building scheme is the nominal building scheme and
    3129##   is actively supported.
    32 ## * The gcc-2.7.2 building scheme is not supported by all BSPs and
    33 ##   is not extensively tested.
    3430## * The non-gcc building scheme requires manually setting up environment
    3531##   variables and is hardly tested at all
     
    4945
    5046CFLAGS_DEFAULT=-g -Wall
    51 
    52 if RTEMS_USE_GCC272
    53 ## gcc <= 2.7.2
    54 RTEMS_CPPFLAGS = -isystem $(PROJECT_INCLUDE)
    55 
    56 # default location of Standard C Library
    57 LIBC_LIBC = `$(CC) $(CPU_CFLAGS) -print-file-name=libc.a $(GCCSED)`
    58 LIBC_LIBM = `$(CC) $(CPU_CFLAGS) -print-file-name=libm.a $(GCCSED)`
    59 LIBC_LIBGCC = `$(CC) $(CPU_CFLAGS) -print-libgcc-file-name $(GCCSED)`
    60 
    61 ### FIXME: False if using multilibbed RTEMS
    62 LINK_LIBS_RTEMS = $(PROJECT_RELEASE)/lib/librtemsbsp$(LIBSUFFIX_VA) \
    63    $(PROJECT_RELEASE)/lib/librtemscpu$(LIBSUFFIX_VA)
    64 
    65 LINK_LIBS_GCC272 = $(LINK_LIBS_RTEMS) $(LIBC_LIBC) $(LIBC_LIBGCC)
    66 GCCSPECS =
    67 else
    6847## gcc >= 2.8.x
    6948GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS)
    70 endif
    7149else
    7250## fall back to the old style compilers/*.cfg
     
    8361ASFLAGS  = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
    8462
    85 LINK_LIBS = $(LINK_LIBS_GCC272) $(LD_LIBS)
     63LINK_LIBS = $(LD_LIBS)
    8664
    8765## FIXME: This doesn't seem to be correct
     
    150128${ARCH}/%.rel: ${ARCH}/%.o
    151129        ${make-rel}
    152 
    153 # create $(ARCH)/pgm from pgm.sh
    154 ${ARCH}/%: %.sh
    155         $(RM) $@
    156         $(CP) $< $@
    157         $(CHMOD) +x $@
    158130
    159131# Dependency files for use by gmake
     
    202174    $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
    203175
    204 # FIXME: Do we want this? Only useful below tests/.
    205 #    $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/librtemcpu$(LIBSUFFIX_VA)
    206 #    $(PROJECT_RELEASE)/lib/librtembsp$(LIBSUFFIX_VA)
    207 
    208176if RTEMS_USE_GCC
    209 if RTEMS_USE_GCC272
    210 define make-rel
    211         $(LINK) -nostdlib -Wl,-r $(XLDFLAGS) $^
    212 endef
    213 else
    214177## gcc >= 2.8
    215178define make-rel
    216179        $(LINK) -qnolinkcmds -nostdlib -Wl,-r $(XLDFLAGS) $^
    217180endef
    218 endif
    219181else
    220182## non-gcc
     
    264226## Setup hard-coded flags
    265227if RTEMS_USE_GCC
    266 if RTEMS_USE_GCC272
    267 ## gcc < gcc-2.8
    268 RTEMS_CFLAGS_OPTIMIZE_V =
    269 RTEMS_CFLAGS_DEBUG_V = -Wno-unused
    270 RTEMS_CFLAGS_PROFILE_V =
    271 else
    272228## gcc >= gcc-2.8
    273229RTEMS_CFLAGS_OPTIMIZE_V =
    274230RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
    275231RTEMS_CFLAGS_PROFILE_V =
    276 endif
     232
    277233## non-gcc
    278234## We can't guess what flags might be required here.
  • configure.ac

    rcb9b2bfc r978f59a  
    2929RTEMS_ENABLE_INLINES
    3030RTEMS_ENABLE_CXX
    31 RTEMS_ENABLE_GCC28
    32 RTEMS_ENABLE_LIBCDIR
    3331RTEMS_ENABLE_TESTS 
    3432RTEMS_ENABLE_RTEMS_DEBUG
Note: See TracChangeset for help on using the changeset viewer.