🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #646

Re: Building G++ on Pyramid

#646
From: Ben Golding
Date: Tue, 25 Jun 1991 08:48
18 lines
1499 bytes
In article <1991Jun23.015823.25711@comp.vuw.ac.nz> jonathan@beta.isor.vuw.ac.nz (Jonathan Stone) writes:
>In article <1991Jun22.145936.14935@monu6.cc.monash.edu.au> anthony@monu6.cc.monash.edu.au (Anthony Baxter) writes:
>>Has anyone had any luck using g++ on a Pyramid? I've managed to get
>>it compiled, but it produces assembler with labels like __$_FooBar,
>>and the Pyramid as doesnt allow $ as a valid character in a label.
>
>You don't want to look in the G++ source code to fix this.  The
>standard workaround to this problem is to use some character other than '$',
>but the Pyramid assembler also rejects that character in labels.

If you're trying to prevent accidental name collisions you could use
"." -- the assembler accepts that in labels.

If you insist on "$" being labels then you're out of luck.  It's
already used for immediate operands.  A special version of the
assembler would be ugly.  Consider "$name", what does it refer to?

	Ben.
Technical Details
Message-ID: <7319@pta.pyramid.com.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!munnari.oz.au!mel.dit.csiro.au!yarra!pta!bgg
References: <1991Jun22.145936.14935@monu6.cc.monash.edu.au> <1991Jun23.015823.25711@comp.vuw.ac.nz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!munnari.oz.au!mel.dit.csiro.au!yarra!pta!bgg
From: bgg@pta.pyramid.com.au (Ben Golding)
Newsgroups: gnu.g++.help,comp.sys.pyramid
Subject: Re: Building G++ on Pyramid
Keywords: g++ pyramid
Message-ID: <7319@pta.pyramid.com.au>
Date: 25 Jun 91 08:48:33 GMT
References: <1991Jun22.145936.14935@monu6.cc.monash.edu.au> <1991Jun23.015823.25711@comp.vuw.ac.nz>
Followup-To: gnu.g++.help
Organization: Pyramid Technology Corporation, Sydney
Lines: 18