This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: compile failure.


>[dhruv@home dhruv]$ g++33 -v
>Reading specs from /usr/local/lib/gcc-lib/i386-redhat-linux/3.3.2/specs
>Configured with: /root/temp/gcc-3.3.2/configure
>--with-gxx-include-dir=/usr/include/libstdc++-3.3 --program-suffix=33 :
>(reconfigured) /root/temp/gcc-3.3.2/configure
>--with-gxx-include-dir=/usr/include/libstdc++-3.3 --program-suffix=33
>--enable-languages=c,c++ : (reconfigured) /root/temp/gcc-3.3.2/configure
>--with-gxx-include-dir=/usr/include/libstdc++-3.3 --program-suffix=33
>--enable-threads=posix --enable-__cxa_atexit --host=i386-redhat-linux
>--enable-languages=c,c++

You'll need to be working from gcc mainline to work with the allocator
issue, FYI. I'd suggest a snapshot or working from subversions. 

Make sure you are building out of the source directory. I suggest reading:

http://gcc.gnu.org/install/

Then, try just configuring like so:

cd $bld_gcc
$src_to_gcc/configure --verbose --prefix=/opt/gcc-3.4
--enable-__cxa_atexit --enable-languages=c,c++

I'd suggest getting more complicated with the configure options after
you've built gcc a couple times.

best,
benjamin


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