This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gclib connection on nonLinux platforms
- From: "Hillel (Sabba) Markowitz" <sabbahem at bcpl dot net>
- To: GCC Help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 22 Oct 2002 10:59:13 -0400
- Subject: gclib connection on nonLinux platforms
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