+ Search CC, MAKE and AWK variables inside Makefile
  + Set CC_is_gcc to 1 if CC contains gcc substring
  + Use --verbose for LDFLAGS if using gcc
  + Create gdb_get_stdin.c source to avoid problems related to stdin
    macro expansion on some targets. Add gdb_get_stdin.o object
    to XM_ADD_FILES if compilation successful.
    Set LIBGDB_HAS_GET_STDIN conditional in gdblib.inc on success.
  * Rebuild libgdb.a with possible gdb_get_stdin.o added.
  * Check for collect2 in make.log
  + Add libgdb.a manually if not use anymore on gdb executable command line.
  * Try to avoid wrong parsing of library list.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24032 3ad0048d-3df7-0310-abae-a5850022a9f2