From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,135bcf3a8dfac3df X-Google-Attributes: gid11318c,public X-Google-Thread: fee84,135bcf3a8dfac3df X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-27 00:05:39 PST Path: bga.com!news.sprintlink.net!hookup!usc!sdd.hp.com!think.com!paperboy.osf.org!meissner From: meissner@osf.org (Michael Meissner) Newsgroups: gnu.gcc.help,comp.unix.osf.osf1 Subject: Re: Has anyone installed gcc-2.5.8 on an Alpha OSF1? Date: 25 Jun 1994 23:29:28 GMT Organization: Open Software Foundation Distribution: usa Message-ID: References: <2uep5b$1827@source.asset.com> NNTP-Posting-Host: pasta.osf.org In-reply-to: mahesh@source.asset.com's message of 24 Jun 1994 10:04:27 -0400 Xref: bga.com gnu.gcc.help:2279 comp.unix.osf.osf1:2222 In article <2uep5b$1827@source.asset.com> mahesh@source.asset.com (B.G. Mahesh) writes: | alpha.evb.com(37)% uname -a | OSF1 alpha.evb.com X2.0 201.1 alpha | | I want to install gcc-2.5.8 on my Alpha OSF1. | I get a zillion warnings when I compile. I got | thru' stage1 but stage2 fails.. | | stage2/xgcc -Bstage2/ -c -DIN_GCC -g -O -I. -I. -I./config | ./fix-header.c | In file included from ./hconfig.h:63, | from ./fix-header.c:81: | /usr/include/string.h:235: warning: conflicting types for | built-in function `ffs' | ./fix-header.c: In function `strdup': | ./fix-header.c:436: argument `str' doesn't match prototype | /usr/include/string.h:239: prototype declaration | make: *** [fix-header.o] Error 1 I've seen changes go into the internal FSF source tree for GCC that fix these problems. Until the next release of GCC comes out, you could play around with nuking the ffs and strdup functions from the gcc version of the include files (in the include subdirectory). -- Michael Meissner email: meissner@osf.org phone: 617-621-8861 Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142 Old hackers never die, their bugs just increase.