GCC 4 installation problem

Vincent De Groote vincent.degroote@encelade.com
Wed Mar 25 19:28:00 GMT 2009


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/



More information about the Cygwin mailing list