This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

Re: "expected primary-expression" error building gcc 4.8.3


On 21 November 2014 13:14, Allan Streib wrote:
> Hi,
>
> Trying to build gcc 4.8.3 on a RHEL 5.11 system (current gcc is 4.1.2).
>
> I ran the 'contrib/download_prerequisites' script and 'configure' as per
> instructions.
>
> Running 'make' it goes for a good while and then I get the errors
> below. I am guessing at a problem with the _GLIBCXX_STDIO definitions?
> Does this indicate something missing from the build environment?

I would guess it indicates the configure command didn't finish
successfully, those macro definitions should be set unconditionally
during configure.

Look in x86_64-unknown-linux-gnu/32/libstdc++-v3/config.log for
"checking for the value of EOF"

Also look in x86_64-unknown-linux-gnu/32/libstdc++-v3/include/x86_64-unknown-linux-gnu/bits/c++config.h
to see what the macro is defined to.


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