This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Details on binutils/gas/ld


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

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