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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rtems-20020807/] [aclocal/] [gcc-specs.m4] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
dnl
2
dnl gcc-specs.m4,v 1.5 2000/11/09 17:04:53 joel 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 accepts -specs,rtems_cv_gcc_specs,
10
[
11
rtems_cv_gcc_specs=no
12
if test x"$GCC" = x"yes"; then
13
  touch confspec
14
  echo 'void f(){}' >conftest.c
15
  if test -z "`${CC} -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.