public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problems installing gcc-3.3
@ 2003-05-25 10:16 mramirez
  0 siblings, 0 replies; only message in thread
From: mramirez @ 2003-05-25 10:16 UTC (permalink / raw)
  To: gcc-help

Hi,

I have built and installed on my system gcc-3.3 successfully, or so it
seemed, but when I tried to re-build several C++ libraries I stepped on
errors compiling the /usr/include/pthread.h header file. The error itself,
as reported by the compiler is:

/usr/include/pthread.h:163: error: parse error before `__thread'
/usr/include/pthread.h:165: error: `pthread_create' declared as function
   returning a function
/usr/include/pthread.h:166: error: parse error before `void'
/usr/include/pthread.h:591: error: storage class specifiers invalid in
   parameter declarations
/usr/include/pthread.h:591: error: storage class specified for parameter `
   parameter']
/usr/include/bits/sigthread.h:36: error: storage class specifiers invalid in
   parameter declarations
/usr/include/bits/sigthread.h:36: error: storage class specified for
parameter
   `parameter'

I configured gcc-3.3 with:
../gcc-3.3/configure --prefix=/usr --program-suffix=-3.3
--with-local-prefix=/usr --with-gnu-as --enable-languages=java,c,c++

built it with:
make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap

and finally installed with:
make install

All these operations were performed being the superuser, and no related
warnings or errors appeared.

My system is a Debian Woody GNU/Linux. I have not updated either glibc nor
gcc until now ( so I am making quite a lenghty jump ).

What I have done wrong? Do I have to install a newer version of glibc? I
have been scouring google searching for people with a similar problem (
i.e. the same compile error ) and I have found mentioned something about a
gcc make rule called install-non-fixed-includes or something similar...

Thanks a lot,

Miguel.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-25 10:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-25 10:16 Problems installing gcc-3.3 mramirez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).