From: cs4n+@andrew.cmu.edu (Charles Humphrey Silvers)
Subject: Re: g++ on a Decstation 3100
Date: 26 Apr 91 05:58:40 GMT [thread overview]
Message-ID: <oc5w6Ei00Vp54QiWUN@andrew.cmu.edu> (raw)
In-Reply-To: <QJ9&$$#@ads.com>
I had this problem too. The actually error is that g++ is producing
.extern lines for variables actually declared in the same file. My
solution I found was to either produce the assemble, remove the
spurious .extern's and assemble it myself, or to re-order the source
lines to put the declarations of the variables ahead of the extern's
for them (or something like that, I know that re-ordering the code
solved the problem).
I wish the MIPS assembler would be more forgiving about things like
this, or at least produce a more informative error message.
-Chuck
prev parent reply other threads:[~1991-04-26 5:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1991-04-23 23:34 g++ on a Decstation 3100 Dave Glowacki
1991-04-26 5:58 ` Charles Humphrey Silvers [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox