From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenther Grau To: gdb@cygnus.com Subject: gdb-19990209 on sparc-2.5.1 Date: Thu, 01 Apr 1999 00:00:00 -0000 Message-id: <36F9675E.65FA739B@bk.bosch.de> References: <199903242102.NAA01562@andros.cygnus.com> X-SW-Source: 1999-q1/msg00166.html Hi, Stan Shebs wrote: > Actually - everybody hold on to your hats - this isn't the first time > that GDB has been compiled with compilers other than GCC. :-) The > official expectation is that GDB is portable C code, and that it can > be compiled and built by any reasonable C compiler. Ok, after I read that, I dl'd gdb-19990209.tar.gz. Is that really the lastest snapshot (4.17.86) everybody is talking about? Well, anyways, on my sparc-solaris 2.5.1 I did setenv CC cc ./configure make and found a few glitches (i.e. warnings :-) and a make error. cc is from SunWorkshop Solaris 4.2. I attached the output during the build process. I haven't had time to look into this further as I will need to go to sleep now :-) Guenther ;; This buffer is for notes you don't want to save, and for Lisp evaluation. ;; If you want to create a file, first visit that file with C-x C-f, ;; then enter the text in that file's own buffer. gorgo% make if [ x"no" = xyes ] && [ ! -d pic ]; then \ mkdir pic; \ else true; fi touch stamp-picdir test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include argv.c -o pic/argv.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include argv.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include choose-temp.c -o pic/choose-temp.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include choose-temp.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include concat.c -o pic/concat.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include concat.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include cplus-dem.c -o pic/cplus-dem.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include cplus-dem.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include fdmatch.c -o pic/fdmatch.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include fdmatch.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include fnmatch.c -o pic/fnmatch.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include fnmatch.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include getopt.c -o pic/getopt.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include getopt.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include getopt1.c -o pic/getopt1.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include getopt1.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include getruntime.c -o pic/getruntime.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include getruntime.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include hex.c -o pic/hex.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include hex.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include floatformat.c -o pic/floatformat.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include floatformat.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include mkstemp.c -o pic/mkstemp.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include mkstemp.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include objalloc.c -o pic/objalloc.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include objalloc.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include obstack.c -o pic/obstack.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include obstack.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include pexecute.c -o pic/pexecute.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include pexecute.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include spaces.c -o pic/spaces.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include spaces.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include splay-tree.c -o pic/splay-tree.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include splay-tree.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include strerror.c -o pic/strerror.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include strerror.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include strsignal.c -o pic/strsignal.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include strsignal.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include xatexit.c -o pic/xatexit.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include xatexit.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include xexit.c -o pic/xexit.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include xexit.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include xmalloc.c -o pic/xmalloc.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include xmalloc.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include xstrdup.c -o pic/xstrdup.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include xstrdup.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include xstrerror.c -o pic/xstrerror.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include xstrerror.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include asprintf.c -o pic/asprintf.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include asprintf.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include basename.c -o pic/basename.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include basename.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include sigsetmask.c -o pic/sigsetmask.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include sigsetmask.c test x"no" != xyes || \ cc -c -DHAVE_CONFIG_H -g -I. -I./../include vasprintf.c -o pic/vasprintf.o cc -c -DHAVE_CONFIG_H -g -I. -I./../include vasprintf.c rm -f libiberty.a ar rc libiberty.a \ argv.o choose-temp.o concat.o cplus-dem.o fdmatch.o fnmatch.o getopt.o getopt1.o getruntime.o hex.o floatformat.o mkstemp.o objalloc.o obstack.o pexecute.o spaces.o splay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o xstrdup.o xstrerror.o asprintf.o basename.o sigsetmask.o vasprintf.o true libiberty.a f="asprintf.o basename.o sigsetmask.o vasprintf.o "; \ case $f in \ *alloca.o*) f="$f xmalloc.o xexit.o" ;; \ esac; \ echo $f > needed-list echo argv.o choose-temp.o concat.o cplus-dem.o fdmatch.o fnmatch.o getopt.o getopt1.o getruntime.o hex.o floatformat.o mkstemp.o objalloc.o obstack.o pexecute.o spaces.o splay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o xstrdup.o xstrerror.o > required-list make all-recursive Making all in intl cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g intl-compat.c cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g bindtextdom.c cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g dcgettext.c cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g dgettext.c cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g gettext.c cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g finddomain.c cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g loadmsgcat.c cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g localealias.c cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g textdomain.c cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g l10nflist.c cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g explodename.c rm -f libintl.a ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o ranlib libintl.a Making all in lib cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -c getopt.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -c getopt1.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -c xmalloc.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -c xstrdup.c rm -f libtxi.a ar cru libtxi.a getopt.o getopt1.o xmalloc.o xstrdup.o ranlib libtxi.a Making all in info cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c dir.c cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c display.c cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c makedoc.c cc -g -o makedoc makedoc.o ../lib/libtxi.a -lcurses ../intl/libintl.a ./makedoc ./session.c ./echo-area.c ./infodoc.c ./m-x.c ./indices.c ./nodemenu.c ./footnotes.c ./variables.c cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c doc.c cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c dribble.c cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c echo-area.c "echo-area.c", line 1290: warning: argument #4 is incompatible with prototype: prototype: pointer to function(pointer to const void, pointer to const void) returning int : "/usr/include/stdlib.h", line 97 argument : pointer to function(pointer to pointer to struct {pointer to char label, pointer to char filename, pointer to char nodename,... cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c filesys.c cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c footnotes.c cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c gc.c cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c indices.c cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c info-utils.c cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c info.c cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c infodoc.c cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c infomap.c cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c m-x.c cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c man.c cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c nodemenu.c "nodemenu.c", line 166: warning: argument #4 is incompatible with prototype: prototype: pointer to function(pointer to const void, pointer to const void) returning int : "/usr/include/stdlib.h", line 97 >From shebs@cygnus.com Thu Apr 01 00:00:00 1999 From: Stan Shebs To: cagney@cygnus.com Cc: gdb@cygnus.com Subject: Re: Which ANSI-C compiler? Date: Thu, 01 Apr 1999 00:00:00 -0000 Message-id: <199903240259.SAA11164@andros.cygnus.com> References: <36F84161.637FE9BE@cygnus.com> X-SW-Source: 1999-q1/msg00155.html Content-length: 523 Date: Wed, 24 Mar 1999 12:35:29 +1100 From: Andrew Cagney [Jim sorry] With GDB trialing the move to ANSI-C it will probably be helpful if there is a list of recommended compilers available. Hmmm. Most compilers that people have will be in the recommended category I think, so it might be simpler just to mention the compilers that we know will be a problem? In either case, that's a good idea for an addition to README and NEWS, so people aren't caught by surprise. Stan