OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [aclocal/] [gcc-specs.m4] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
dnl
2
dnl $Id: gcc-specs.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
3
dnl
4
dnl Check whether the target compiler accepts -specs
5
dnl
6
 
7
AC_DEFUN(RTEMS_GCC_SPECS,
8
[AC_REQUIRE([RTEMS_PROG_CC])
9
AC_CACHE_CHECK(whether $CC_FOR_TARGET accepts -specs,rtems_cv_gcc_specs,
10
[
11
rtems_cv_gcc_specs=no
12
if test "$rtems_cv_prog_gcc" = "yes"; then
13
  touch confspec
14
  echo 'void f(){}' >conftest.c
15
  if test -z "`${CC_FOR_TARGET} -specs confspec -c conftest.c 2>&1`";then
16
    rtems_cv_gcc_specs=yes
17
  fi
18
fi
19
rm -f confspec conftest*
20
])])

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.