Changeset cce81a7 in rtems for make/Makefile.in

Timestamp:
08/21/98 17:43:22 (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
4de817d
Parents:
aa2171b
Message:

A patch from Ralf Corsepius <corsepiu@…>:

Here is another patch to hopefully enhance rtems' configuration.

Motivation: Try to support other c-compilers besides gcc (I tried to
build rtems under Solaris using sun's WSPro c-compiler).

Here is a couple of small patches concerning the host compiler
configuration, which fix/work-around the worst problems when using sun's
WSPro c-compiler.

Changes:

  • Replaced make/compilers/gcc.cfg with make/compilers/gcc.cfg.in, ie. gcc.cfg is generated by configure now.
  • Removed a line containing a hard-coded "gcc" from gcc.cfg (BUG-fix).
  • Add -g to host compiler flags only if configure reported -g to work
  • Add -Wall to host compiler flags only if configure reported that the host compiler is gcc (WSPro's cc chokes on -Wall).
  • Some modifications to make/Makefile.in
  • Adapted make/custom/default.cfg to the new location of gcc.cfg

BTW, gcc.cfg/gcc.cfg.in seems to be full of unused code (DEBUG-VARIANTS
etc.) which deserves to be cleaned up, IMO.

IMO, a similar patch should be applied to gcc-target-default.cfg

(No files)

Note: See TracChangeset for help on using the changeset viewer.