Changeset 2758c9f2 in rtems


Ignore:
Timestamp:
Apr 14, 1998, 10:13:05 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
66533558
Parents:
1504f71e
Message:

Ralf Corsepius suggested a way to get rid of UNIX compiler files and use gcc-target-default.cfg

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • configure

    r1504f71e r2758c9f2  
    12881288  i[3456]86-pc-linux*)         # unix "simulator" port
    12891289        target_cpu=unix
     1290        RTEMS_HOST=Linux
     1291        # override these settings
    12901292        RTEMS_HAS_POSIX_API=no
    1291         RTEMS_HOST=Linux
     1293        RTEMS_USE_GCC272=yes
     1294        RTEMS_LIBC_DIR=/usr
    12921295        ;;
    12931296  no_cpu-*rtems*)
     
    12971300  sparc-sun-solaris*)             # unix "simulator" port
    12981301        target_cpu=unix
     1302        RTEMS_HOST=Solaris
     1303        # override these settings
    12991304        RTEMS_HAS_POSIX_API=no
    1300         RTEMS_HOST=Solaris
     1305        RTEMS_USE_GCC272=yes
     1306        RTEMS_LIBC_DIR=/usr
    13011307        ;;
    13021308  *)
    13031309        echo $ac_n "checking rtems target cpu""... $ac_c" 1>&6
    1304 echo "configure:1305: checking rtems target cpu" >&5
     1310echo "configure:1311: checking rtems target cpu" >&5
    13051311target_cpu=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'`
    13061312echo "$ac_t""$target_cpu" 1>&6
     
    13211327# Is this a supported CPU?
    13221328echo $ac_n "checking if cpu $target_cpu is supported""... $ac_c" 1>&6
    1323 echo "configure:1324: checking if cpu $target_cpu is supported" >&5
     1329echo "configure:1330: checking if cpu $target_cpu is supported" >&5
    13241330if test -d "$srcdir/c/src/exec/score/cpu/$target_cpu"; then
    13251331  echo "$ac_t""yes" 1>&6
     
    13431349set dummy gcc; ac_word=$2
    13441350echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1345 echo "configure:1346: checking for $ac_word" >&5
     1351echo "configure:1352: checking for $ac_word" >&5
    13461352if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    13471353  echo $ac_n "(cached) $ac_c" 1>&6
     
    13721378set dummy cc; ac_word=$2
    13731379echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1374 echo "configure:1375: checking for $ac_word" >&5
     1380echo "configure:1381: checking for $ac_word" >&5
    13751381if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    13761382  echo $ac_n "(cached) $ac_c" 1>&6
     
    14201426
    14211427echo $ac_n "checking whether the target C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1422 echo "configure:1423: checking whether the target C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     1428echo "configure:1429: checking whether the target C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    14231429
    14241430ac_ext=c
     
    14301436
    14311437cat > conftest.$ac_ext <<EOF
    1432 #line 1433 "configure"
     1438#line 1439 "configure"
    14331439#include "confdefs.h"
    14341440main(){return(0);}
    14351441EOF
    1436 if { (eval echo configure:1437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1442if { (eval echo configure:1443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    14371443  rtems_cv_prog_cc_works=yes
    14381444  # If we can't run a trivial program, we are probably using a cross compiler.
     
    14541460fi
    14551461echo $ac_n "checking whether the target C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1456 echo "configure:1457: checking whether the target C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     1462echo "configure:1463: checking whether the target C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    14571463echo "$ac_t""$rtems_cv_prog_cc_cross" 1>&6
    14581464
    14591465echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1460 echo "configure:1461: checking whether we are using GNU C" >&5
     1466echo "configure:1467: checking whether we are using GNU C" >&5
    14611467if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    14621468  echo $ac_n "(cached) $ac_c" 1>&6
     
    14671473#endif
    14681474EOF
    1469 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1475if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    14701476  ac_cv_prog_gcc=yes
    14711477else
     
    14821488  CFLAGS=
    14831489  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1484 echo "configure:1485: checking whether ${CC-cc} accepts -g" >&5
     1490echo "configure:1491: checking whether ${CC-cc} accepts -g" >&5
    14851491if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    14861492  echo $ac_n "(cached) $ac_c" 1>&6
     
    15221528 
    15231529echo $ac_n "checking whether $CC_FOR_TARGET accepts -specs""... $ac_c" 1>&6
    1524 echo "configure:1525: checking whether $CC_FOR_TARGET accepts -specs" >&5
     1530echo "configure:1531: checking whether $CC_FOR_TARGET accepts -specs" >&5
    15251531if eval "test \"`echo '$''{'rtems_cv_gcc_specs'+set}'`\" = set"; then
    15261532  echo $ac_n "(cached) $ac_c" 1>&6
     
    15471553
    15481554echo $ac_n "checking whether $CC_FOR_TARGET accepts --pipe""... $ac_c" 1>&6
    1549 echo "configure:1550: checking whether $CC_FOR_TARGET accepts --pipe" >&5
     1555echo "configure:1556: checking whether $CC_FOR_TARGET accepts --pipe" >&5
    15501556if eval "test \"`echo '$''{'rtems_cv_gcc_pipe'+set}'`\" = set"; then
    15511557  echo $ac_n "(cached) $ac_c" 1>&6
     
    15801586set dummy $ac_prog; ac_word=$2
    15811587echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1582 echo "configure:1583: checking for $ac_word" >&5
     1588echo "configure:1589: checking for $ac_word" >&5
    15831589if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
    15841590  echo $ac_n "(cached) $ac_c" 1>&6
     
    16111617
    16121618echo $ac_n "checking whether the target C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1613 echo "configure:1614: checking whether the target C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     1619echo "configure:1620: checking whether the target C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    16141620
    16151621ac_ext=C
     
    16221628
    16231629cat > conftest.$ac_ext <<EOF
    1624 #line 1625 "configure"
     1630#line 1631 "configure"
    16251631#include "confdefs.h"
    16261632main(){return(0);}
    16271633EOF
    1628 if { (eval echo configure:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1634if { (eval echo configure:1635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    16291635  rtems_cv_prog_cxx_works=yes
    16301636  # If we can't run a trivial program, we are probably using a cross compiler.
     
    16421648if test "$rtems_cv_prog_cxx_works" = "no"; then
    16431649    cat > conftest.$ac_ext <<EOF
    1644 #line 1645 "configure"
     1650#line 1651 "configure"
    16451651#include "confdefs.h"
    16461652 main(){return(0);}
    16471653EOF
    1648 if { (eval echo configure:1649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1654if { (eval echo configure:1655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    16491655  rtems_cv_prog_cxx_works=yes
    16501656  # If we can't run a trivial program, we are probably using a cross compiler.
     
    16731679fi
    16741680echo $ac_n "checking whether the target C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1675 echo "configure:1676: checking whether the target C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1681echo "configure:1682: checking whether the target C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    16761682echo "$ac_t""$rtems_cv_prog_cxx_cross" 1>&6
    16771683
    16781684echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    1679 echo "configure:1680: checking whether we are using GNU C++" >&5
     1685echo "configure:1686: checking whether we are using GNU C++" >&5
    16801686if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    16811687  echo $ac_n "(cached) $ac_c" 1>&6
     
    16861692#endif
    16871693EOF
    1688 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1694if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    16891695  ac_cv_prog_gxx=yes
    16901696else
     
    17011707  CXXFLAGS=
    17021708  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    1703 echo "configure:1704: checking whether ${CXX-g++} accepts -g" >&5
     1709echo "configure:1710: checking whether ${CXX-g++} accepts -g" >&5
    17041710if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    17051711  echo $ac_n "(cached) $ac_c" 1>&6
     
    17351741set dummy "$program_prefix"g++; ac_word=$2
    17361742echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1737 echo "configure:1738: checking for $ac_word" >&5
     1743echo "configure:1744: checking for $ac_word" >&5
    17381744if eval "test \"`echo '$''{'ac_cv_path_CXX_FOR_TARGET'+set}'`\" = set"; then
    17391745  echo $ac_n "(cached) $ac_c" 1>&6
     
    17801786set dummy "$program_prefix"gcc; ac_word=$2
    17811787echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1782 echo "configure:1783: checking for $ac_word" >&5
     1788echo "configure:1789: checking for $ac_word" >&5
    17831789if eval "test \"`echo '$''{'ac_cv_path_CC_FOR_TARGET'+set}'`\" = set"; then
    17841790  echo $ac_n "(cached) $ac_c" 1>&6
     
    18131819set dummy "$program_prefix"ar; ac_word=$2
    18141820echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1815 echo "configure:1816: checking for $ac_word" >&5
     1821echo "configure:1822: checking for $ac_word" >&5
    18161822if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
    18171823  echo $ac_n "(cached) $ac_c" 1>&6
     
    18451851set dummy "$program_prefix"as; ac_word=$2
    18461852echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1847 echo "configure:1848: checking for $ac_word" >&5
     1853echo "configure:1854: checking for $ac_word" >&5
    18481854if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
    18491855  echo $ac_n "(cached) $ac_c" 1>&6
     
    18771883set dummy "$program_prefix"nm; ac_word=$2
    18781884echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1879 echo "configure:1880: checking for $ac_word" >&5
     1885echo "configure:1886: checking for $ac_word" >&5
    18801886if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
    18811887  echo $ac_n "(cached) $ac_c" 1>&6
     
    19091915set dummy "$program_prefix"ld; ac_word=$2
    19101916echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1911 echo "configure:1912: checking for $ac_word" >&5
     1917echo "configure:1918: checking for $ac_word" >&5
    19121918if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
    19131919  echo $ac_n "(cached) $ac_c" 1>&6
     
    19421948set dummy "$program_prefix"ranlib; ac_word=$2
    19431949echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1944 echo "configure:1945: checking for $ac_word" >&5
     1950echo "configure:1951: checking for $ac_word" >&5
    19451951if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
    19461952  echo $ac_n "(cached) $ac_c" 1>&6
     
    19751981set dummy "$program_prefix"objcopy; ac_word=$2
    19761982echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1977 echo "configure:1978: checking for $ac_word" >&5
     1983echo "configure:1984: checking for $ac_word" >&5
    19781984if eval "test \"`echo '$''{'ac_cv_path_OBJCOPY_FOR_TARGET'+set}'`\" = set"; then
    19791985  echo $ac_n "(cached) $ac_c" 1>&6
     
    20072013set dummy "$program_prefix"size; ac_word=$2
    20082014echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2009 echo "configure:2010: checking for $ac_word" >&5
     2015echo "configure:2016: checking for $ac_word" >&5
    20102016if eval "test \"`echo '$''{'ac_cv_path_SIZE_FOR_TARGET'+set}'`\" = set"; then
    20112017  echo $ac_n "(cached) $ac_c" 1>&6
     
    20422048set dummy gcc; ac_word=$2
    20432049echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2044 echo "configure:2045: checking for $ac_word" >&5
     2050echo "configure:2051: checking for $ac_word" >&5
    20452051if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    20462052  echo $ac_n "(cached) $ac_c" 1>&6
     
    20712077set dummy cc; ac_word=$2
    20722078echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2073 echo "configure:2074: checking for $ac_word" >&5
     2079echo "configure:2080: checking for $ac_word" >&5
    20742080if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    20752081  echo $ac_n "(cached) $ac_c" 1>&6
     
    21192125
    21202126echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    2121 echo "configure:2122: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     2127echo "configure:2128: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    21222128
    21232129ac_ext=c
     
    21292135
    21302136cat > conftest.$ac_ext <<EOF
    2131 #line 2132 "configure"
     2137#line 2138 "configure"
    21322138#include "confdefs.h"
    21332139main(){return(0);}
    21342140EOF
    2135 if { (eval echo configure:2136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2141if { (eval echo configure:2142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    21362142  ac_cv_prog_cc_works=yes
    21372143  # If we can't run a trivial program, we are probably using a cross compiler.
     
    21532159fi
    21542160echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    2155 echo "configure:2156: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     2161echo "configure:2162: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    21562162echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    21572163cross_compiling=$ac_cv_prog_cc_cross
    21582164
    21592165echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    2160 echo "configure:2161: checking whether we are using GNU C" >&5
     2166echo "configure:2167: checking whether we are using GNU C" >&5
    21612167if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    21622168  echo $ac_n "(cached) $ac_c" 1>&6
     
    21672173#endif
    21682174EOF
    2169 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     2175if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    21702176  ac_cv_prog_gcc=yes
    21712177else
     
    21822188  CFLAGS=
    21832189  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    2184 echo "configure:2185: checking whether ${CC-cc} accepts -g" >&5
     2190echo "configure:2191: checking whether ${CC-cc} accepts -g" >&5
    21852191if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    21862192  echo $ac_n "(cached) $ac_c" 1>&6
     
    22132219do
    22142220echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2215 echo "configure:2216: checking for $ac_func" >&5
     2221echo "configure:2222: checking for $ac_func" >&5
    22162222if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    22172223  echo $ac_n "(cached) $ac_c" 1>&6
    22182224else
    22192225  cat > conftest.$ac_ext <<EOF
    2220 #line 2221 "configure"
     2226#line 2227 "configure"
    22212227#include "confdefs.h"
    22222228/* System header to define __stub macros and hopefully few prototypes,
     
    22412247; return 0; }
    22422248EOF
    2243 if { (eval echo configure:2244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2249if { (eval echo configure:2250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    22442250  rm -rf conftest*
    22452251  eval "ac_cv_func_$ac_func=yes"
     
    22692275
    22702276echo $ac_n "checking for Makefile.in in c/src/exec/score/tools/$target_cpu""... $ac_c" 1>&6
    2271 echo "configure:2272: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5
     2277echo "configure:2278: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5
    22722278if test -d $srcdir/c/src/exec/score/tools/$target_cpu; then
    22732279  rtems_av_save_dir=`pwd`;
     
    22842290
    22852291echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6
    2286 echo "configure:2287: checking for Makefile.in in c/src/exec/rtems" >&5
     2292echo "configure:2293: checking for Makefile.in in c/src/exec/rtems" >&5
    22872293if test -d $srcdir/c/src/exec/rtems; then
    22882294  rtems_av_save_dir=`pwd`;
     
    22992305
    23002306echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6
    2301 echo "configure:2302: checking for Makefile.in in c/src/exec/sapi" >&5
     2307echo "configure:2308: checking for Makefile.in in c/src/exec/sapi" >&5
    23022308if test -d $srcdir/c/src/exec/sapi; then
    23032309  rtems_av_save_dir=`pwd`;
     
    23162322 
    23172323echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6
    2318 echo "configure:2319: checking for Makefile.in in c/src/exec/posix" >&5
     2324echo "configure:2325: checking for Makefile.in in c/src/exec/posix" >&5
    23192325if test -d $srcdir/c/src/exec/posix; then
    23202326  rtems_av_save_dir=`pwd`;
     
    23382344  if test -z "$rtems_bsp"; then
    23392345    echo $ac_n "checking for bsps""... $ac_c" 1>&6
    2340 echo "configure:2341: checking for bsps" >&5
     2346echo "configure:2347: checking for bsps" >&5
    23412347    files=`ls $srcdir/c/src/lib/libbsp/$target_cpu`
    23422348    for file in $files; do
     
    23852391       
    23862392echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$target_cpu/$bspdir""... $ac_c" 1>&6
    2387 echo "configure:2388: checking for Makefile.in in c/src/lib/libbsp/$target_cpu/$bspdir" >&5
     2393echo "configure:2394: checking for Makefile.in in c/src/lib/libbsp/$target_cpu/$bspdir" >&5
    23882394if test -d $srcdir/c/src/lib/libbsp/$target_cpu/$bspdir; then
    23892395  rtems_av_save_dir=`pwd`;
     
    24082414
    24092415echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6
    2410 echo "configure:2411: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
     2416echo "configure:2417: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5
    24112417if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then
    24122418  rtems_av_save_dir=`pwd`;
     
    24252431 
    24262432echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6
    2427 echo "configure:2428: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
     2433echo "configure:2434: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5
    24282434if test -d $srcdir/c/src/lib/start/$target_cpu; then
    24292435  rtems_av_save_dir=`pwd`;
     
    24672473# If the tests are enabled, then find all the test suite Makefiles
    24682474echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6
    2469 echo "configure:2470: checking if the test suites are enabled? " >&5
     2475echo "configure:2476: checking if the test suites are enabled? " >&5
    24702476tests_enabled=yes
    24712477# Check whether --enable-tests or --disable-tests was given.
     
    24862492
    24872493echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6
    2488 echo "configure:2489: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
     2494echo "configure:2495: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5
    24892495if test -d $srcdir/c/src/tests/tools/$target_cpu; then
    24902496  rtems_av_save_dir=`pwd`;
     
    25032509   
    25042510echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6
    2505 echo "configure:2506: checking for Makefile.in in c/src/tests/libtests" >&5
     2511echo "configure:2512: checking for Makefile.in in c/src/tests/libtests" >&5
    25062512if test -d $srcdir/c/src/tests/libtests; then
    25072513  rtems_av_save_dir=`pwd`;
     
    25182524   
    25192525echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6
    2520 echo "configure:2521: checking for Makefile.in in c/src/tests/sptests" >&5
     2526echo "configure:2527: checking for Makefile.in in c/src/tests/sptests" >&5
    25212527if test -d $srcdir/c/src/tests/sptests; then
    25222528  rtems_av_save_dir=`pwd`;
     
    25332539   
    25342540echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6
    2535 echo "configure:2536: checking for Makefile.in in c/src/tests/tmtests" >&5
     2541echo "configure:2542: checking for Makefile.in in c/src/tests/tmtests" >&5
    25362542if test -d $srcdir/c/src/tests/tmtests; then
    25372543  rtems_av_save_dir=`pwd`;
     
    25482554   
    25492555echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6
    2550 echo "configure:2551: checking for Makefile.in in c/src/tests/mptests" >&5
     2556echo "configure:2557: checking for Makefile.in in c/src/tests/mptests" >&5
    25512557if test -d $srcdir/c/src/tests/mptests; then
    25522558  rtems_av_save_dir=`pwd`;
     
    25642570     
    25652571echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6
    2566 echo "configure:2567: checking for Makefile.in in c/src/tests/psxtests" >&5
     2572echo "configure:2573: checking for Makefile.in in c/src/tests/psxtests" >&5
    25672573if test -d $srcdir/c/src/tests/psxtests; then
    25682574  rtems_av_save_dir=`pwd`;
     
    25822588# If the HWAPI is enabled, the find the HWAPI Makefiles
    25832589echo $ac_n "checking if the HWAPI is enabled? ""... $ac_c" 1>&6
    2584 echo "configure:2585: checking if the HWAPI is enabled? " >&5
     2590echo "configure:2591: checking if the HWAPI is enabled? " >&5
    25852591# Check whether --enable-hwapi or --disable-hwapi was given.
    25862592if test "${enable_hwapi+set}" = set; then
     
    25932599           
    25942600echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6
    2595 echo "configure:2596: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
     2601echo "configure:2602: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5
    25962602if test -d $srcdir/c/src/lib/libhwapi/analog; then
    25972603  rtems_av_save_dir=`pwd`;
     
    26082614           
    26092615echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6
    2610 echo "configure:2611: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
     2616echo "configure:2617: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5
    26112617if test -d $srcdir/c/src/lib/libhwapi/discrete; then
    26122618  rtems_av_save_dir=`pwd`;
     
    26232629           
    26242630echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6
    2625 echo "configure:2626: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
     2631echo "configure:2632: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5
    26262632if test -d $srcdir/c/src/lib/libhwapi/drivers; then
    26272633  rtems_av_save_dir=`pwd`;
     
    26382644           
    26392645echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory""... $ac_c" 1>&6
    2640 echo "configure:2641: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
     2646echo "configure:2647: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5
    26412647if test -d $srcdir/c/src/lib/libhwapi/non_volatile_memory; then
    26422648  rtems_av_save_dir=`pwd`;
     
    26532659           
    26542660echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6
    2655 echo "configure:2656: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
     2661echo "configure:2662: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5
    26562662if test -d $srcdir/c/src/lib/libhwapi/serial; then
    26572663  rtems_av_save_dir=`pwd`;
     
    26682674           
    26692675echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6
    2670 echo "configure:2671: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
     2676echo "configure:2677: checking for Makefile.in in c/src/lib/libhwapi/support" >&5
    26712677if test -d $srcdir/c/src/lib/libhwapi/support; then
    26722678  rtems_av_save_dir=`pwd`;
     
    26832689           
    26842690echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6
    2685 echo "configure:2686: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
     2691echo "configure:2692: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5
    26862692if test -d $srcdir/c/src/lib/libhwapi/wrapup; then
    26872693  rtems_av_save_dir=`pwd`;
     
    27252731
    27262732echo $ac_n "checking for Makefile.in in c/build-tools""... $ac_c" 1>&6
    2727 echo "configure:2728: checking for Makefile.in in c/build-tools" >&5
     2733echo "configure:2734: checking for Makefile.in in c/build-tools" >&5
    27282734if test -d $srcdir/c/build-tools; then
    27292735  rtems_av_save_dir=`pwd`;
     
    27402746
    27412747echo $ac_n "checking for Makefile.in in make""... $ac_c" 1>&6
    2742 echo "configure:2743: checking for Makefile.in in make" >&5
     2748echo "configure:2749: checking for Makefile.in in make" >&5
    27432749if test -d $srcdir/make; then
    27442750  rtems_av_save_dir=`pwd`;
     
    27552761
    27562762echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6
    2757 echo "configure:2758: checking for Makefile.in in c/src/lib/libmisc" >&5
     2763echo "configure:2764: checking for Makefile.in in c/src/lib/libmisc" >&5
    27582764if test -d $srcdir/c/src/lib/libmisc; then
    27592765  rtems_av_save_dir=`pwd`;
     
    27702776
    27712777echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6
    2772 echo "configure:2773: checking for Makefile.in in c/src/tests/samples" >&5
     2778echo "configure:2779: checking for Makefile.in in c/src/tests/samples" >&5
    27732779if test -d $srcdir/c/src/tests/samples; then
    27742780  rtems_av_save_dir=`pwd`;
  • configure.in

    r1504f71e r2758c9f2  
    132132  i[[3456]]86-pc-linux*)         # unix "simulator" port
    133133        target_cpu=unix
     134        RTEMS_HOST=Linux
     135        # override these settings
    134136        RTEMS_HAS_POSIX_API=no
    135         RTEMS_HOST=Linux
     137        RTEMS_USE_GCC272=yes
     138        RTEMS_LIBC_DIR=/usr
    136139        ;;
    137140  no_cpu-*rtems*)
     
    141144  sparc-sun-solaris*)             # unix "simulator" port
    142145        target_cpu=unix
     146        RTEMS_HOST=Solaris
     147        # override these settings
    143148        RTEMS_HAS_POSIX_API=no
    144         RTEMS_HOST=Solaris
     149        RTEMS_USE_GCC272=yes
     150        RTEMS_LIBC_DIR=/usr
    145151        ;;
    146152  *)
  • make/custom/HPUX9-posix.cfg

    r1504f71e r2758c9f2  
    99TARGET_ARCH=o-$(RTEMS_BSP)
    1010
    11 include $(RTEMS_ROOT)/make/main.cfg
    12 
    1311RTEMS_CPU=unix
    1412RTEMS_CPU_FAMILY=hppa1_1
     
    1917RTEMS_BSP_FAMILY=posix
    2018
     19include $(RTEMS_ROOT)/make/custom/default.cfg
     20
    2121# use the macros instead of the inline functions
    2222# The macros work better when mixed with other compilers.
     
    2424INLINE_UPCASE=MACRO
    2525
    26 # HOST Compiler config file
    27 # You may also want to specify where the compiler resides here.
    28 CC_$(HOST_ARCH)_DIR=$(RTEMS_GNUTOOLS_HOST)
    29 CONFIG.$(HOST_ARCH).CC   = $(RTEMS_ROOT)/make/compilers/gcc.cfg
    30 
    3126## Target compiler config file, if any
    3227CC_$(TARGET_ARCH)_DIR=$(CC_$(HOST_ARCH)_DIR)
    33 CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-hpux9.cfg
     28CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg
    3429
    35 # Use the LIBC support for CYGNUS newlib
    36 # RTEMS_LIBC_DIR must already be set (by module file)
    37 RTEMS_USE_NEWLIB=yes
     30# RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER
     31LIBC_DEFINES=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG
    3832
    3933# The following define the memory reserved in the executable for the
     
    4236LIBC_DEFINES += -DWORKSPACE_MB=2
    4337LIBC_DEFINES += -DHEAPSPACE_MB=1
    44 
    45 # Uncomment the following line if want stack checking should be enabled
    46 #LIBC_DEFINES += -DSTACK_CHECKER_ON
    4738
    4839# Define this to yes if this target supports multiprocessor environments.
     
    5647HAS_POSIX_API=no
    5748
     49HAS_POSIX_API=no
     50
     51# optimize flag: typically -0, could use -O4 or -fast
     52# -O4 is ok for RTEMS
     53CFLAGS_OPTIMIZE_V = -O2
     54
     55#  This section makes the target dependent options file.
     56
     57#  NDEBUG (C library)
     58#     if defined asserts do not generate code.  This is commonly used
     59#     as a command line option.
     60#
     61#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
     62#     do not pause between screens of output in the rtems tests
     63#
     64#  NO_TABLE_MOVE (SPARC PORT)
     65#     do not have a second trap table -- use the BSP's
     66#
     67#  STACK_CHECKER_ON (RTEMS support code)
     68#     If defined, stack bounds checking is enabled.
     69#
     70#  STACK_CHECKER_REPORT_USAGE (RTEMS support code)
     71#     If this and STACK_CHECKER_ON are defined, then a report on stack usage
     72#     per task is printed when the program exits.
     73#
     74#  RTEMS_DEBUG (RTEMS)
     75#     If defined, debug checks in RTEMS and support library code are enabled.
     76#
     77#  RTEMS_UNIX (unix)
     78#     Define this to indicate this is an RTEMS UNIX port.
     79
     80define make-target-options
     81        echo "/* #define NDEBUG 1 */ "                     >>$@
     82        echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
     83        echo "/* #define STACK_CHECKER_ON  1 */"           >>$@
     84        echo "/* #define STACK_CHECKER_REPORT_USAGE  1 */" >>$@
     85        echo "/* #define RTEMS_DEBUG  1 */"                >>$@
     86        echo "#define RTEMS_UNIX 1 "                       >>$@
     87endef
     88
     89ifeq ($(RTEMS_USE_GCC272),yes)
     90define make-exe
     91        $(CC) -o $@ $(LINK_FILES) $(LD_LIBS) $(LIBC_LIBM) $(LIBC_LIBC)
     92        $(NM) -ng $@ > $(basename $@).num
     93        $(SIZE) $@
     94endef
     95else
     96#
     97# gcc28 not yet supported
     98#
     99endif
     100
    58101# Miscellaneous additions go here
     102# Setting formerly contained in gcc-hpux9.cfg
     103
     104# Not applicable - let's override 'em
     105LINKCMDS=
     106START_FILE=
     107START_BASE=
     108
     109# Here is the rule to actually build a $(ARCH)/foo.exe
     110# It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
     111# Usage ref: src/tests/sptest/sp1/Makefile
     112#
     113# 'NODE' is set to 1 or 2 for multi cpu tests (ref: mptests/mp01/node1/Makefile)
     114# If NODE is set as an environment variable, don't trust it, zero it out.
     115# (NODE turns out to be a very common environment variable)
     116ifeq (,$(NODE))
     117NODE=0
     118else
     119ifeq "$(origin NODE)" "environment"
     120NODE=0
     121endif
     122endif
     123
     124# Workaround for missing ranlib support in RTEMS
     125MKLIB=$(AR) s $(@) ; echo library is complete:
     126
  • make/custom/Linux-posix.cfg

    r1504f71e r2758c9f2  
    44#  $Id$
    55#
    6 
    7 # Specify here the host and target "architectures"
    8 HOST_ARCH=o-$(RTEMS_HOST)
    9 TARGET_ARCH=o-linux1
    10 
    11 include $(RTEMS_ROOT)/make/main.cfg
    126
    137RTEMS_CPU=unix
     
    1913RTEMS_BSP_FAMILY=posix
    2014
    21 # use the inline functions instead of the macros
    22 # ref: src/exec/generic/Makefile
    23 # Need INLINE_UPCASE set to uppercase value of INLINE variable
    24 #   ref: make/compilers/gcc-force386.cfg
    25 ifeq ($(RTEMS_USE_MACROS),yes)
    26 INLINE=macros
    27 INLINE_UPCASE=
    28 else
    29 INLINE=inline
    30 INLINE_UPCASE=INLINE
    31 endif
     15# share the posix bsp
     16TARGET_ARCH=o-linux1
     17RTEMS_BSP=posix
    3218
    33 # HOST Compiler config file
    34 # You may also want to specify where the compiler resides here.
    35 CC_$(HOST_ARCH)_DIR=$(RTEMS_GNUTOOLS_HOST)
    36 CONFIG.$(HOST_ARCH).CC   = $(RTEMS_ROOT)/make/compilers/gcc.cfg
     19include $(RTEMS_ROOT)/make/custom/default.cfg
    3720
    3821## Target compiler config file, if any
    39 CC_$(TARGET_ARCH)_DIR=$(CC_$(HOST_ARCH)_DIR)
    40 CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-linux1.cfg
     22CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg
    4123
    4224# DO NOT Use the LIBC support for CYGNUS newlib
    43 # RTEMS_LIBC_DIR must already be set (by module file) DOES NOT MATTER
     25RTEMS_USE_NEWLIB=no
     26
     27# RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER
    4428LIBC_DEFINES=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG
    45 LIBC_INCLUDE=/usr/include
    46 LIBC_LIBC=-lc
    47 LIBC_LIBM=-lm
    48 LIBC_EXTRA_LIBS=
    4929
    5030# The following define the memory reserved in the executable for the
     
    5333LIBC_DEFINES += -DHEAPSPACE_MB=1
    5434
     35
    5536# Define this to yes if C++ is included in the development environment
    5637# This requires that at least the GNU C++ compiler and libg++ be installed.
    5738ifeq ($(RTEMS_HAS_CPLUSPLUS),yes)
    5839HAS_CPLUSPLUS=yes
    59 LIBCC_INCLUDE=/usr/include/g++
     40# No need to set it, gcc knows about them
     41# LIBCC_INCLUDE=/usr/include/g++
    6042CPLUS_LD_LIBS=-lstdc++
    6143CPLUS_LD_LIBS += $(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)
     
    7456HAS_POSIX_API=no
    7557
     58# optimize flag: typically -0, could use -O4 or -fast
     59# -O4 is ok for RTEMS
     60CFLAGS_OPTIMIZE_V = -O2
     61
     62#  This section makes the target dependent options file.
     63
     64#  NDEBUG (C library)
     65#     if defined asserts do not generate code.  This is commonly used
     66#     as a command line option.
     67#
     68#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
     69#     do not pause between screens of output in the rtems tests
     70#
     71#  NO_TABLE_MOVE (SPARC PORT)
     72#     do not have a second trap table -- use the BSP's
     73#
     74#  STACK_CHECKER_ON (RTEMS support code)
     75#     If defined, stack bounds checking is enabled.
     76#
     77#  STACK_CHECKER_REPORT_USAGE (RTEMS support code)
     78#     If this and STACK_CHECKER_ON are defined, then a report on stack usage
     79#     per task is printed when the program exits.
     80#
     81#  RTEMS_DEBUG (RTEMS)
     82#     If defined, debug checks in RTEMS and support library code are enabled.
     83#     
     84#  RTEMS_UNIX (unix)
     85#     Define this to indicate this is an RTEMS UNIX port.
     86
     87define make-target-options
     88        echo "/* #define NDEBUG 1 */ "                     >>$@
     89        echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
     90        echo "/* #define STACK_CHECKER_ON  1 */"           >>$@
     91        echo "/* #define STACK_CHECKER_REPORT_USAGE  1 */" >>$@
     92        echo "/* #define RTEMS_DEBUG  1 */"                >>$@
     93        echo "#define RTEMS_UNIX 1 "                       >>$@
     94endef
     95
     96ifeq ($(RTEMS_USE_GCC272),yes)
     97define make-exe
     98        $(CC) -o $@ $(LINK_FILES) $(LD_LIBS) $(LIBC_LIBM) $(LIBC_LIBC)
     99        $(NM) -ng $@ > $(basename $@).num
     100        $(SIZE) $@
     101endef
     102else
     103#
     104# gcc28 not yet supported
     105#
     106endif
     107
     108
     109# *****************************************************************
    76110# Miscellaneous additions go here
     111
     112# Setting formerly contained in gcc-linux1.cfg
     113
     114# Not applicable - let's override 'em
     115LINKCMDS=
     116START_FILE=
     117START_BASE=
     118
     119# Here is the rule to actually build a $(ARCH)/foo.exe
     120# It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
     121# Usage ref: src/tests/sptest/sp1/Makefile
     122#
     123# 'NODE' is set to 1 or 2 for multi cpu tests (ref: mptests/mp01/node1/Makefile)
     124# If NODE is set as an environment variable, don't trust it, zero it out.
     125# (NODE turns out to be a very common environment variable)
     126ifeq (,$(NODE))
     127NODE=0
     128else
     129ifeq "$(origin NODE)" "environment"
     130NODE=0
     131endif
     132endif
     133
     134# Workaround for missing ranlib support in RTEMS
     135MKLIB=$(AR) s $(@) ; echo library is complete:
  • make/custom/Solaris-posix.cfg

    r1504f71e r2758c9f2  
    44#  $Id$
    55#
    6 
    7 # Specify here the host and target "architectures"
    8 HOST_ARCH=o-$(RTEMS_HOST)
    9 TARGET_ARCH=o-$(RTEMS_BSP)
    10 
    11 include $(RTEMS_ROOT)/make/main.cfg
    126
    137RTEMS_CPU=unix
     
    1913RTEMS_BSP_FAMILY=posix
    2014
    21 # use the inline functions instead of the macros
    22 # ref: src/exec/generic/Makefile
    23 # Need INLINE_UPCASE set to uppercase value of INLINE variable
    24 #   ref: make/compilers/gcc-force386.cfg
    25 ifeq (${RTEMS_USE_MACROS},yes)
    26 INLINE=macros
    27 INLINE_UPCASE=
    28 else
    29 INLINE=inline
    30 INLINE_UPCASE=INLINE
    31 endif
     15# share the posix bsp
     16TARGET_ARCH=o-solaris2
     17RTEMS_BSP=posix
    3218
    33 # HOST Compiler config file
    34 # You may also want to specify where the compiler resides here.
    35 CC_$(HOST_ARCH)_DIR=$(RTEMS_GNUTOOLS_HOST)
    36 CONFIG.$(HOST_ARCH).CC   = $(RTEMS_ROOT)/make/compilers/gcc.cfg
     19include $(RTEMS_ROOT)/make/default.cfg
    3720
    3821## Target compiler config file, if any
    39 CC_$(TARGET_ARCH)_DIR=$(CC_$(HOST_ARCH)_DIR)
    40 CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-solaris2.cfg
     22CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg
    4123
    4224# Use the LIBC support for CYGNUS newlib
     
    4426RTEMS_USE_NEWLIB=no
    4527
     28LIBC_DEFINES=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG
    4629LIBC_LIBM=-lm
    4730
     
    6851HAS_POSIX_API=no
    6952
     53# optimize flag: typically -0, could use -O4 or -fast
     54# -O4 is ok for RTEMS
     55CFLAGS_OPTIMIZE_V = -O2
     56
     57#  This section makes the target dependent options file.
     58
     59#  NDEBUG (C library)
     60#     if defined asserts do not generate code.  This is commonly used
     61#     as a command line option.
     62#
     63#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
     64#     do not pause between screens of output in the rtems tests
     65#
     66#  NO_TABLE_MOVE (SPARC PORT)
     67#     do not have a second trap table -- use the BSP's
     68#
     69#  STACK_CHECKER_ON (RTEMS support code)
     70#     If defined, stack bounds checking is enabled.
     71#
     72#  STACK_CHECKER_REPORT_USAGE (RTEMS support code)
     73#     If this and STACK_CHECKER_ON are defined, then a report on stack usage
     74#     per task is printed when the program exits.
     75#
     76#  RTEMS_DEBUG (RTEMS)
     77#     If defined, debug checks in RTEMS and support library code are enabled.
     78#
     79#  RTEMS_UNIX (unix)
     80#     Define this to indicate this is an RTEMS UNIX port.
     81
     82define make-target-options
     83        echo "/* #define NDEBUG 1 */ "                     >>$@
     84        echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
     85        echo "/* #define STACK_CHECKER_ON  1 */"           >>$@
     86        echo "/* #define STACK_CHECKER_REPORT_USAGE  1 */" >>$@
     87        echo "/* #define RTEMS_DEBUG  1 */"                >>$@
     88        echo "#define RTEMS_UNIX 1 "                       >>$@
     89endef
     90
     91ifeq ($(RTEMS_USE_GCC272),yes)
     92define make-exe
     93        $(CC) -o $@ $(LINK_FILES) $(LD_LIBS) $(LIBC_LIBM) $(LIBC_LIBC)
     94        $(NM) -ng $@ > $(basename $@).num
     95        $(SIZE) $@
     96endef
     97else
     98#
     99# gcc28 not yet supported
     100#
     101endif
     102
     103
     104# *****************************************************************
     105
     106
    70107# Miscellaneous additions go here
Note: See TracChangeset for help on using the changeset viewer.