Commit Graph

4 Commits

Author SHA1 Message Date
Joel Sherrill
2efdd08b40 Patch from Ralf Corseipus to fix latent configure problems suddenly triggered:
The breakdown:
        * CC_FOR_TARGET and CXX_FOR_TARGET were not correctly re-read
          from autoconf's configuration cache (config.cache)

        * If <target>-[gcc|g++] was not found while running configure,
          the config macros tried to use other (wrong) compilers (e.g. cc).

    Changes:
        * New RTEMS_PROG_CC macro (aclocal/prog-cc.m4).
        * New RTEMS_PROG_CXX macro (aclocal/prog-cxx.m4)
        * Moved a shell script fragment from configure.in to a
          new m4-autoconf macro (New file: aclocal/tool-prefix.m4)
        * Minor changes to configure.in

    I tested it with linux/posix (native gcc/primary libc) and
    sh-rtems/gensh1 on a linux host and didn't notice any bugs
    related to the problems mentioned above.  There seem to be
    more bugs with the posix bsp, but I consider them minor as
    the build run completed successfully. It is just too late
    for me to attempt to fix them now.
1998-05-20 17:06:57 +00:00
Joel Sherrill
d53130befa Updated now that the phony crt0.c in newlib defines all odd symbols
that gcc automatically generates references to.
1998-03-23 19:54:35 +00:00
Joel Sherrill
5b3cf09202 Added enough symbols to the conftest.c program to make sure it would
successfully link on both the powerpc and hppa1.1.
1998-03-21 15:25:47 +00:00
Joel Sherrill
51c195d560 New files missed in previous merge. 1998-02-19 16:23:56 +00:00