delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/25/13:55:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00
X-Spam-Check-By: sourceware.org
X-Belgacom-Dynamic: yes
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqIBAEMZyklXQA8z/2dsb2JhbAAI03iDdQY
Message-ID: <49CA7DFF.4070502@encelade.com>
Date: Wed, 25 Mar 2009 19:54:55 +0100
From: Vincent De Groote <vincent DOT degroote AT encelade DOT com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: GCC 4 installation problem
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello,

I had a gcc-3 compiler, and i installed the gcc-4.3.2 package with the 
setup program.

I changed the /etc/alternatives/gcc to point to /usr/bin/gcc-4.exe

When I tried to compile a simple hello world program, I have problems 
with the system include files:

/usr/include/stdio.h:176: error: expected declaration specifiers or 
'...' before 'size_t'
/usr/include/stdio.h:187: error: expected declaration specifiers or 
'...' before '__gnuc_va_list'

and a lot of other errors.

Is there another package to install to make it work, or something else 
to do ?

Thanks for your answers and your time

Vincent De Groote

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019