www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/11/06/19:25:56

To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Help on djgpp!
Date: Fri, 06 Nov 92 18:24:18 -0500
From: mauricio AT mozart DOT aero DOT ufl DOT edu

	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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019