Changeset 560aae24 in rtems for automake


Ignore:
Timestamp:
Jan 29, 2001, 3:27:25 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
ed3ec25
Parents:
37222c7e
Message:

2001-01-26 Ralf Corsepius <corsepiu@…>

  • aclocal/enable-rtemsbsp.m4: Split out RTEMS_ENV_RTEMSBSP, RTEMS_ENV_RTEMSCPU.
  • aclocal/env-rtemsbsp.m4: New file for RTEMS_ENV_RTEMSBSP, add special treatment for GCC_SPECS.
  • aclocal/env-rtemscpu.m4: New file for RTEMS_ENV_RTEMSCPU, add special treatment for GCC_SPECS.
  • aclocal/bsp-enable-arg.m4: New file, introduce RTEMS_BSP_ARG_ENABLE.
  • aclocal/prog-cc.m4: Add AC_PROG_CPP, use build_os in GCCSED hack.
  • automake/compile.am: New treatment of CPP, GCCSPECS, use .. instead of $(shell ..) for LIBC_LIB*.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • automake/compile.am

    r37222c7e r560aae24  
    5555
    5656# default location of Standard C Library
    57 LIBC_LIBC = $(shell $(CC) $(CPU_CFLAGS) -print-file-name=libc.a $(GCCSED))
    58 LIBC_LIBM = $(shell $(CC) $(CPU_CFLAGS) -print-file-name=libm.a $(GCCSED))
    59 LIBC_LIBGCC = $(shell $(CC) $(CPU_CFLAGS) -print-libgcc-file-name $(GCCSED))
     57LIBC_LIBC = `$(CC) $(CPU_CFLAGS) -print-file-name=libc.a $(GCCSED)`
     58LIBC_LIBM = `$(CC) $(CPU_CFLAGS) -print-file-name=libm.a $(GCCSED)`
     59LIBC_LIBGCC = `$(CC) $(CPU_CFLAGS) -print-libgcc-file-name $(GCCSED)`
    6060
    6161### FIXME: False if using multilibbed RTEMS
     
    6363
    6464LINK_LIBS_GCC272 = $(LINK_LIBS_RTEMS) $(LIBC_LIBC) $(LIBC_LIBGCC)
     65GCCSPECS =
    6566else
    6667## gcc >= 2.8.x
    67 if RTEMS_CONFIG_PER_BSP
    68 BSP_SPECS = -specs bsp_specs -qrtems
    69 endif
    70 
    71 GCCSPECS = -B$(PROJECT_RELEASE)/lib/ $(BSP_SPECS)
     68GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS)
    7269endif
    7370else
     
    111108# Client compiler and support tools
    112109#
    113 
    114 ## HACK: specific to gcc
    115 ## FIXME: Do we call the correct CPP, why aren't
    116 ## CPPFLAGS and CFLAGS part of this call?
    117 # CPP command to write file to standard output
    118 CPP=$(CC) -E -ansi -w -Wp,-$$
    119110
    120111ARFLAGS=ruv
     
    279270CC = @CC@ $(GCCSPECS)
    280271CXX = @CXX@ $(GCCSPECS)
     272CPP = @CPP@ $(GCCSPECS)
     273
    281274LD = @LD@
    282275OBJCOPY = @OBJCOPY@
Note: See TracChangeset for help on using the changeset viewer.