From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Korn To: gcc-help@gcc.gnu.org Subject: gcc-2.95.2-2, VxWorks, CygWin: Can't build it. Date: Fri, 28 Jul 2000 06:09:00 -0000 Message-id: <718D38CAB6E0D011B2C90060970C28A5490B82@exchangeserver.pixelpower.com> X-SW-Source: 2000-07/msg00203.html Hi everyone, I'm being driven slowly out of my mind. I am trying to build gcc-2.95.2-2 for the powerpc-wrs-vxworks target on a PC using NT4.0sp6 and a fairly recent (1.1.2) download of cygwin. It goes dreadfully wrong, no matter what I try. I've searched various mailing list archives (gcc-help, crossgcc, cygwin), and found that lots of people have been having trouble with it under all sorts of platforms, but no mention of cygwin. Has *anybody* managed to build this target under cygwin? Anyone at all? My main problem at the moment is to do with errors compiling choose-temp.c in libiberty which is suffering some sort of header conflict that prevents it knowing the definition of a va_list: /usr/home/dkorn/gcc-2.95.2-2/libiberty/../include/libiberty.h:193: parse error before `va_list' ....but that's not all... /usr/home/dkorn/gcc-2.95.2-2/libiberty/choose-temp.c: In function `try': /usr/home/dkorn/gcc-2.95.2-2/libiberty/choose-temp.c:89: warning: implicit declaration of function `access' /usr/home/dkorn/gcc-2.95.2-2/libiberty/choose-temp.c: In function `choose_temp_base': /usr/home/dkorn/gcc-2.95.2-2/libiberty/choose-temp.c:111: warning: implicit declaration of function `getenv' /usr/home/dkorn/gcc-2.95.2-2/libiberty/choose-temp.c:138: warning: implicit declaration of function `mktemp' /usr/home/dkorn/gcc-2.95.2-2/libiberty/choose-temp.c: In function `make_temp_file': /usr/home/dkorn/gcc-2.95.2-2/libiberty/choose-temp.c:157: warning: function `getenv' was previously declared within a block /usr/home/dkorn/gcc-2.95.2-2/libiberty/choose-temp.c:192: warning: implicit declaration of function `strcat' /usr/home/dkorn/gcc-2.95.2-2/libiberty/choose-temp.c:200: warning: implicit declaration of function `close' I won't go into further detail right now, as I'm sure most people aren't interested. But if *anyone* out there has build this version, can you please drop me a line and tell me whether you had similar trouble, and what kind of configure options you used ? Thanks for your time, DaveK -- What part of "Gestalt" don't you understand? ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************