From: Michael Elizabeth Chastain <chastain@cygnus.com>
To: chastain@cygnus.com, eliz@is.elta.co.il
Cc: gdb@sourceware.cygnus.com
Subject: Re: GDB compile problem.
Date: Mon, 26 Feb 2001 04:07:00 -0000 [thread overview]
Message-ID: <200102261207.EAA04396@bosch.cygnus.com> (raw)
chastain> After a couple of rounds of e-mail, we figured out the problem:
chastain> on Alex Turner's system, there's an environment variable "CPP=g++".
eliz> Shouldn't that be "CXX=g++"?
Sorry, my grammar is contorted.
Alex's environment had a variable with the name "CPP" set to the value
"g++". This variable was there for some other purpose. The configure
scripts in gdb 5.0 picked up this variable and tried to use it as the name
of the C Preprocessor. The problem manifested as unresolved externals
at the time of the final link. This was not obvious to diagnose.
So yes, it would be good for us if whatever *other* software that someone
has on their system would use CXX and not CPP as an environment
variable.
But it would be good if *our* software gave a useful error message:
"you have something named CPP in your environment, but it does not
perform the task of a C Preprocessor."
(And I know when I see comments: 'work around blah bug on Stardent ...'
that it's an extremely delicate piece of software to touch).
Michael
next reply other threads:[~2001-02-26 4:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-26 4:07 Michael Elizabeth Chastain [this message]
2001-02-26 7:08 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2001-02-26 10:47 Michael Elizabeth Chastain
2001-02-26 11:51 ` Eli Zaretskii
2001-02-25 22:55 Michael Elizabeth Chastain
2001-02-25 15:51 Michael Elizabeth Chastain
2001-02-25 15:15 Alex Turner
2001-02-25 21:31 ` Trond Eivind Glomsrød
2001-02-25 22:05 ` Alex Turner
2001-02-26 6:06 ` Trond Eivind Glomsrød
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200102261207.EAA04396@bosch.cygnus.com \
--to=chastain@cygnus.com \
--cc=eliz@is.elta.co.il \
--cc=gdb@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox