From: "Hillel (Sabba) Markowitz" <sabbahem@bcpl.net>
To: GCC Help <gcc-help@gcc.gnu.org>
Subject: gclib connection on nonLinux platforms
Date: Tue, 22 Oct 2002 07:55:00 -0000 [thread overview]
Message-ID: <3DB56016@webmail.bcpl.net> (raw)
When building gcc for a Linux platform, gcclib needs to be installed as well.
However, the documentation does not mention what to do on nonLinuz platforms
such as Solaris or TRU64 DEC (COMPAQ).
#include <complex.h>
int main(int argc, char **argv)
{
double complex a;
a = 3. + (4. * I);
printf("%g\n", cabs(a));
return 0;
}
In a nonLinux platform, complex.h is not found so that the complex type is not
defined. The vendor compiler, however, does compile successfully.
It appears from the documentation that glibc is only for Linux platforms and
should not be built and installed on other platforms. Is this correct? What
should be done to make sure that gcc conforms to the ISO C standard (see
sections 4 and 7.3.1).
Should gcc be included within the gcc include and library areas?
--
Said the fox to the fish, "Join me ashore".
The fish are the Jews, Torah is our water
Hillel (Sabba) Markowitz - sabbahem@bcpl.net
reply other threads:[~2002-10-22 14:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3DB56016@webmail.bcpl.net \
--to=sabbahem@bcpl.net \
--cc=gcc-help@gcc.gnu.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).