public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gclib connection on nonLinux platforms
@ 2002-10-22  7:55 Hillel (Sabba) Markowitz
  0 siblings, 0 replies; only message in thread
From: Hillel (Sabba) Markowitz @ 2002-10-22  7:55 UTC (permalink / raw)
  To: GCC Help

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-22 14:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-22  7:55 gclib connection on nonLinux platforms Hillel (Sabba) Markowitz

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).