[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem
From: |
Lothar Esser |
Subject: |
Problem |
Date: |
Wed, 25 Oct 2000 20:37:15 -0500 (CDT) |
Hi,
the attchment contains a c program that demonstrates the problem that I
have to compile another larger program. I cannot compile it with
gcc (egcs-2.91.66) under red hat linux 6.1.
I can comile it on Compaq Tru64 and Irix 6.2 (SGI ) with their compilers (
not gcc ). So I don't think that this should be a language problem as
such. g++ comiles this program and it works fine. For the other program I
cannot use g++ for other reasons ( no compatible c++ source ). So I guess
my question is if there is something I can do to make gcc compile it
properly. Is there a newer version ?
Thanks,
Dr. Lothar Esser.
#include <stdio.h>
#include <stdlib.h>
FILE *of = stdout;
int main () {
fprintf (of, "Hello world \n");
}