🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by jonathan Mon, 31 Jul 1989 01:37
Can't build g++ without '$' in assembler identifiers
#311
Author: jonathan
Date: Mon, 31 Jul 1989 01:37
20 lines
1332 bytes
I have tried to build g++ 1.35.0 on a Pyramid 90x.  The assembler for
this computer cannot handle the character '$' in assembler labels.
I'm sure this misfeature can't be unique to Pyramid.

G++ really wants to use the character '$' in assembler labels -- for
instance, in the assembler names of operator<foo> functions.

I have tried replacing all the '$' by '.' (by defining macros
for all the strings containing '$').  The resulting assembler output
will assemble on my machine, but gdb can't parse the resulting
symbol tables.  I'm not sure what other characters are both likely
to be safe and acceptable to the Pyramid assembler. Perhaps '_'?

Is there an approved way of building g++ on machines that do
not allow '$' in identifiers (apart from porting GAS) ?

If so, what characters are recommended as a replacement for '$' ?

If not, are the changes to eliminate the '$' in assembler labels worth
posting?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads