compilation problems with gcc 3.0

Anupam Kapoor anupamkap@earthlink.net
Thu Jun 21 09:07:00 GMT 2001


On Thursday 21 June 2001 04:50, Alexandre Oliva wrote:
> On Jun 21, 2001, Anupam Kapoor <anupamkap@earthlink.net> wrote:
> > c++, i get
> > "undefined symbol __dso_handle" in the libstdc++.
>
> You need a newer version of binutils.
thanks. that worked. i compiled it using the --enable-threads too, and 
everyting seems to be ok. 

however a small problem, a simple "hello_world" style program using c++ is 
now about 24k in size as opposed to about 3.7k  using the older compiler. 

in both the instances, i am pulling in the entire std namespace (which i know 
is pretty draconian)  but still 24k for a hello world program, that's sounds
goofy.

can someone please point out any eoe on my part. here is the relevant 
information from the compiler :

Reading specs from ./../lib/gcc-lib/i686-pc-linux-gnu/3.0/specs
Configured with: ../../sources/gcc-3.0/configure 
--prefix=/home/anupam/usr/local --with-gnu-as 
--with-as=/home/anupam/usr/local/bin/as --with-gnu-ld 
--with-ld=/home/anupam/usr/local/bin/ld --enable-threads
Thread model: posix
gcc version 3.0

thanks

anupam



More information about the Gcc-help mailing list