This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCC 4 installation problem


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]