niermann@uicsgva.csg.uiuc.edu (04/19/89)
I am trying to install g++.1.34.2 on a sun3 os4. When I compile a program I always get an assembler syntax error on lines that look like these. .stabs "___DTOR_LIST__",22,0,0,__GLOBAL_$D$main_c .stabs "___CTOR_LIST__",22,0,0,__GLOBAL_$I$main_c Does anyone know what I did not do while installing g++. My guess is that __DTOR_LIST__ and __CTOR_LIST__ do something with global constructors and destructors and the assembler can not find the code for the memory allocation. Any help will be greatly appreciated. Tom Niermann
schmidt@glacier.ics.uci.edu (Doug Schmidt) (04/20/89)
In article <299900001@uicsgva.csg.uiuc.edu> niermann@uicsgva.csg.uiuc.edu writes:
++
++ I am trying to install g++.1.34.2 on a sun3 os4. When I compile a program I always get an assembler syntax error on lines that look like these.
++ .stabs "___DTOR_LIST__",22,0,0,__GLOBAL_$D$main_c
++ .stabs "___CTOR_LIST__",22,0,0,__GLOBAL_$I$main_c
++
++ Does anyone know what I did not do while installing g++.
++
++ My guess is that __DTOR_LIST__ and __CTOR_LIST__ do something with global constructors and destructors and the assembler can not find the code for the memory allocation.
++
++ Any help will be greatly appreciated.
++
++ Tom Niermann
If you read the HINTS file you'll see that you need to
#define FASCIST_ASSEMBLER
in cplus-decl.c on most systems if you don't use the GNU gas assembler.
That should fix the problem.
Doug
--
On a clear day, under blue skies, there is no need to seek.
And asking about Buddha +------------------------+
Is like proclaiming innocence, | schmidt@ics.uci.edu |
With loot in your pocket. | office: (714) 856-4043 |