4.104.114.84.95
Last change
on this file since f4fe0092 was
867ab080,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/18/03 at 06:35:41
|
2003-08-18 Ralf Corsepius <corsepiu@…>
- aclocal/bsp-alias.m4: New (Copied from ../../aclocal).
- aclocal/bsp-arg-enable.m4: New (Copied from ../../aclocal).
- aclocal/bsp-configure.m4: New (Copied from ../../aclocal).
- aclocal/bspopts.m4: New (Copied from ../../aclocal).
- aclocal/canonical-host.m4: New (Copied from ../../aclocal).
- aclocal/canonicalize-tools.m4: New (Copied from ../../aclocal).
- aclocal/canonical-target-name.m4: New (Copied from ../../aclocal).
- aclocal/check-cpu.m4: New (Copied from ../../aclocal).
- aclocal/check-custom-bsp.m4: New (Copied from ../../aclocal).
- aclocal/check-cxx.m4: New (Copied from ../../aclocal).
- aclocal/check-itron.m4: New (Copied from ../../aclocal).
- aclocal/check-multiprocessing.m4: New (Copied from ../../aclocal).
- aclocal/check-networking.m4: New (Copied from ../../aclocal).
- aclocal/check-posix.m4: New (Copied from ../../aclocal).
- aclocal/check-rdbg.m4: New (Copied from ../../aclocal).
- aclocal/check-tool.m4: New (Copied from ../../aclocal).
- aclocal/config-subdirs.m4: New (Copied from ../../aclocal).
- aclocal/enable-bare.m4: New (Copied from ../../aclocal).
- aclocal/enable-cxx.m4: New (Copied from ../../aclocal).
- aclocal/enable-inlines.m4: New (Copied from ../../aclocal).
- aclocal/enable-itron.m4: New (Copied from ../../aclocal).
- aclocal/enable-multiprocessing.m4: New (Copied from ../../aclocal).
- aclocal/enable-networking.m4: New (Copied from ../../aclocal).
- aclocal/enable-posix.m4: New (Copied from ../../aclocal).
- aclocal/enable-rdbg.m4: New (Copied from ../../aclocal).
- aclocal/enable-rtemsbsp.m4: New (Copied from ../../aclocal).
- aclocal/env-rtemsbsp.m4: New (Copied from ../../aclocal).
- aclocal/gcc-isystem.m4: New (Copied from ../../aclocal).
- aclocal/gcc-pipe.m4: New (Copied from ../../aclocal).
- aclocal/gcc-specs.m4: New (Copied from ../../aclocal).
- aclocal/i386-gas-code16.m4: New (Copied from ../../aclocal).
- aclocal/multilib.m4: New (Copied from ../../aclocal).
- aclocal/path-ksh.m4: New (Copied from ../../aclocal).
- aclocal/path-perl.m4: New (Copied from ../../aclocal).
- aclocal/ppc.m4: New (Copied from ../../aclocal).
- aclocal/prog-ccas.m4: New (Copied from ../../aclocal).
- aclocal/prog-cc.m4: New (Copied from ../../aclocal).
- aclocal/prog-cxx.m4: New (Copied from ../../aclocal).
- aclocal/project-root.m4: New (Copied from ../../aclocal).
- aclocal/quoting.m4: New (Copied from ../../aclocal).
- aclocal/rtems-cpu-subdirs.m4: New (Copied from ../../aclocal).
- aclocal/rtems-flags.m4: New (Copied from ../../aclocal).
- aclocal/rtems-top.m4: New (Copied from ../../aclocal).
- aclocal/target.m4: New (Copied from ../../aclocal).
- aclocal/tool-paths.m4: New (Copied from ../../aclocal).
- aclocal/version.m4: New (Copied from ../../aclocal).
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | dnl |
---|
2 | dnl $Id$ |
---|
3 | dnl |
---|
4 | dnl Check for target gcc |
---|
5 | dnl |
---|
6 | |
---|
7 | AC_DEFUN(RTEMS_PROG_CC, |
---|
8 | [ |
---|
9 | AC_BEFORE([$0], [AC_PROG_CPP])dnl |
---|
10 | AC_BEFORE([$0], [AC_PROG_CC])dnl |
---|
11 | AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl |
---|
12 | |
---|
13 | _RTEMS_FLAGS([CFLAGS], |
---|
14 | ["\$(CPU_CFLAGS) \$(RTEMS_CFLAGS_\$(VARIANT_V)_V) \$(CFLAGS_\$(VARIANT_V)_V) -g"]) |
---|
15 | |
---|
16 | RTEMS_CHECK_TOOL(CC,gcc) |
---|
17 | test -z "$CC" && \ |
---|
18 | AC_MSG_ERROR([no acceptable cc found in \$PATH]) |
---|
19 | AC_PROG_CC |
---|
20 | AC_PROG_CPP |
---|
21 | |
---|
22 | AM_CONDITIONAL(RTEMS_USE_GCC,test x"$GCC" = x"yes") |
---|
23 | ]) |
---|
24 | |
---|
25 | AC_DEFUN(RTEMS_PROG_CC_FOR_TARGET, |
---|
26 | [ |
---|
27 | dnl check target cc |
---|
28 | RTEMS_PROG_CC |
---|
29 | dnl check if the compiler supports -isystem |
---|
30 | RTEMS_GCC_ISYSTEM |
---|
31 | dnl check if the target compiler may use --pipe |
---|
32 | RTEMS_GCC_PIPE |
---|
33 | test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe" |
---|
34 | |
---|
35 | dnl check if the compiler supports --specs |
---|
36 | RTEMS_GCC_SPECS |
---|
37 | |
---|
38 | if test "$GCC" = yes; then |
---|
39 | RTEMS_CFLAGS="$RTEMS_CFLAGS -Wall" |
---|
40 | m4_if([$1],,[],[RTEMS_CFLAGS="$RTEMS_CFLAGS $1"]) |
---|
41 | fi |
---|
42 | |
---|
43 | AS_IF([test x"$rtems_cv_gcc_isystem" = x"yes"],[ |
---|
44 | RTEMS_CPPFLAGS="-isystem \$(PROJECT_INCLUDE)"],[ |
---|
45 | RTEMS_CPPFLAGS="-I\$(PROJECT_INCLUDE)" |
---|
46 | ]) |
---|
47 | AC_SUBST(RTEMS_CPPFLAGS) |
---|
48 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.