Older gcc versions for boost
When I try to use boost on an older Linux system, I get the message:
Compiler not configured – please reconfigure
My gcc version is:
gcc version 2.9-gnupro-99r1
In boost’s gcc.hpp file I see:
// versions check: we don't know gcc prior to version 2.90: #if (__GNUC__ == 2) && (__GNUC_MINOR__ < 90) # error "Compiler not configured - please reconfigure" #endif
So, are GCC 2.9 and 2.90 actually the same thing? If yes – can I just update gcc.hpp? If not, how can I still use boost?
I actually tried changing (__GNUC_MINOR__ <
(__GNUC_MINOR__ < 9).
It seems that 2.9 and 2.90 are not the same because now I am getting compile errors.
It seems that the error is because this compiler does not support
characters in \ (line expansion) preprocessor macros. These line breaks are used by boost in many places.
If you cannot upgrade the compiler, downgrade the source code. Not very sensible advice, but it may still be useful.
The old Boost version can be found here:
PS: If it was line breaks that killed you, maybe you could try removing them (if not too much).