Changeset 72e975e in rtems


Ignore:
Timestamp:
Oct 30, 2009, 5:45:51 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
372ce03c
Parents:
50f7234
Message:

2009-10-30 Ralf Corsépius <ralf.corsepiu@…>

  • aclocal/gcc-sanity.m4: New.
  • configure.ac: Add RTEMS_CHECK_GCC_SANITY.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r50f7234 r72e975e  
     12009-10-30      Ralf Corsépius <ralf.corsepiu@rtems.org>
     2
     3        * aclocal/gcc-sanity.m4: New.
     4        * configure.ac: Add RTEMS_CHECK_GCC_SANITY.
     5
    162009-10-29      Till Straumann <strauman@slac.stanford.edu>
    27
  • cpukit/configure.ac

    r50f7234 r72e975e  
    8888AC_CHECK_TYPES([uintptr_t, intptr_t])
    8989
    90 AC_CACHE_CHECK([if PRIxPTR works],
    91 [rtems_cv_PRIxPTR],[
    92   AS_IF([test x"$GCC" = xyes],[
    93     save_CFLAGS=$CFLAGS
    94     CFLAGS=-Werror])
    95 
    96   AC_COMPILE_IFELSE([
    97     AC_LANG_PROGRAM([
    98       #include <inttypes.h>
    99       #include <stdio.h>
    100     ],[
    101       void *ptr;
    102       printf("%" PRIxPTR "\n", (intptr_t) ptr);
    103     ])],
    104     [rtems_cv_PRIxPTR=yes],
    105     [rtems_cv_PRIxPTR=no])
    106 
    107   AS_IF([test x"$GCC" = xyes],[
    108     CFLAGS=$save_CFLAGS])
    109 ])
     90# Some toolchain sanity checks and diagnostics
     91RTEMS_CHECK_GCC_SANITY
    11092
    11193# These are conditionally defined by the toolchain
Note: See TracChangeset for help on using the changeset viewer.