help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking Problem


From: Paul Pluzhnikov
Subject: Re: Linking Problem
Date: Thu, 10 Nov 2005 19:42:51 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

"Paulo Matos" <pocmatos@gmail.com> writes:

> It seems I was wrong. My build was OK initially, but for some reason
> building gcc in the same dir makes parse.h blank afterwards. Anyway,
> compiling gives the following error with 3.3.4 and 2.95:
> In file included from
> ../../../../gcc-3.0.4/libstdc++-v3/src/locale.cc:557:

Yup. I reproduced that here. Gcc-3.0.4 doesn't build on glibc-2.3.3
systems, because __ctype_b stuff has been re-arranged.

I didn't realize there was such a dependency :(

One solution is to build it on an older linux machine, and copy it to
the machine you need.

There might be "magic hacks" or --disable-XXXX flags that would
allow you to build on the new machine, but I didn't find any.

You could also download a pre-build 3.0.4 gcc, and then use the
-BPREFIX option to make it pick up components from your home
directory instead of the "standard" location.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]