
Attempting to use boost with gcc4 says version not recognized. I ran configure. BTW, configure should be chmod +x. Here is the result:

On Mon, Nov 22, 2004 at 09:16:02AM -0500, Neal D. Becker wrote:
Attempting to use boost with gcc4 says version not recognized.
I ran configure. BTW, configure should be chmod +x.
On this subject: The docs were recently changed to say you should run it "sh configure" not "./configure". I agree it'd be nicer if the script was executable, but I thought it'd be easier and more reliable to make the docs agnostic to the file's mode.
Here is the result: [snip] // // options added by configure: // #define BOOST_MSVC6_MEMBER_TEMPLATES #define BOOST_HAS_UNISTD_H
This next one might be platform-specific, I assume you're on Linux?
#define BOOST_HAS_STDINT_H #define BOOST_HAS_SIGACTION #define BOOST_HAS_SCHED_YIELD #define BOOST_HAS_PTHREADS
This is platform-specific too:
#define BOOST_HAS_PTHREAD_YIELD #define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE #define BOOST_HAS_PARTIAL_STD_ALLOCATOR #define BOOST_HAS_NRVO #define BOOST_HAS_NL_TYPES_H #define BOOST_HAS_NANOSLEEP #define BOOST_HAS_LONG_LONG #define BOOST_HAS_GETTIMEOFDAY #define BOOST_HAS_DIRENT_H #define BOOST_HAS_CLOCK_GETTIME
I would expect the config for GCC 4 to be the same (for now) as GCC 3.4, so the simplest thing to do would be just change the last known version in boost/config/compiler/gcc.hpp That change shouldn't be included in any official release though, since GCC 4 might change before it is released and break any claim Boost makes to support it. jon -- "There are only two industries that refer to their customers as 'users'." - Edward Tufte
participants (2)
-
Jonathan Wakely
-
Neal D. Becker