Mail Archives: djgpp/1992/11/06/19:25:56
I put djgpp on a 386-25 with 387 last wednesday. To test it
out, I mad the following short silly program using the text editor
from PC-tools shell:
#include <stdio.h>
main()
{
printf("hello\n");
}
When I compile this program in the workstation, after removing the
LF's and ^Z from the file, and run it, everything works fine:
mauricio AT maxwell: tcsh 35> gcc test.c
mauricio AT maxwell: tcsh 36> a.out
hello
mauricio AT maxwell: tcsh 37>
BUT when I try the djgpp, I cannot compile. According to what I
understood from the FAQ and from the README files, I should first
run cpp to create a .cc file and then feed this .cc file into gcc.
What I get is the message
unknown file type 0x6923 (064443)
What does this message mean? What I am doing wrong?
- Raw text -