Details on binutils/gas/ld

Vijay vijay@saionline.com
Fri Aug 13 15:27:00 GMT 1999


I am having major problems with 
gcc2.8.1 on solaris 2.6 choking on symbols 
produced by code like
 
...
..
map<string, map<string,string> > 
xmap;
 
xmap.insert(make_pair(some_pair));
 
etc.
 
Basically, i get errors like:

usr/ccs/bin/as: "/var/tmp/cc1Ivwu_.s", 
line 7435: error: can't compute value of an expression involving an external 
symbol
 
What may i do? The darned thing compiles 
fine under VC++ 6.0!!
 
I AM TOLD that gas and the gnu loader 
will solve this problem. gcc 2.95 is not yet available for solaris 
2.6.
So i am looking for detailed 
instructions on how to 
 
1.  install gas and the loader for 
sparc2.6
2.  use gas and the gnu loader once 
it is installed, ie switches etc to use in gcc 2.8.1 for this 
purpose?
3. any environment variables i need to set or whatever.
 
thanks very much
 
vijay



More information about the Gcc mailing list