Changeset 560aae24 in rtems for automake/compile.am
- Timestamp:
- 01/29/01 15:27:25 (22 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- ed3ec25
- Parents:
- 37222c7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
automake/compile.am
r37222c7e r560aae24 55 55 56 56 # 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))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 60 61 61 ### FIXME: False if using multilibbed RTEMS … … 63 63 64 64 LINK_LIBS_GCC272 = $(LINK_LIBS_RTEMS) $(LIBC_LIBC) $(LIBC_LIBGCC) 65 GCCSPECS = 65 66 else 66 67 ## 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) 68 GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS) 72 69 endif 73 70 else … … 111 108 # Client compiler and support tools 112 109 # 113 114 ## HACK: specific to gcc115 ## FIXME: Do we call the correct CPP, why aren't116 ## CPPFLAGS and CFLAGS part of this call?117 # CPP command to write file to standard output118 CPP=$(CC) -E -ansi -w -Wp,-$$119 110 120 111 ARFLAGS=ruv … … 279 270 CC = @CC@ $(GCCSPECS) 280 271 CXX = @CXX@ $(GCCSPECS) 272 CPP = @CPP@ $(GCCSPECS) 273 281 274 LD = @LD@ 282 275 OBJCOPY = @OBJCOPY@
Note: See TracChangeset
for help on using the changeset viewer.