www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/04/14:45:09

Message-Id: <199809041845.OAA15564@delorie.com>
Reply-To: <@lux.iuakk.fi>
From: "Sami Narhi" <sami DOT narhi AT avenet DOT fi>
To: <djgpp AT delorie DOT com>
Subject: Hi
Date: Fri, 4 Sep 1998 21:38:01 +0300
MIME-Version: 1.0

How do you compile .c to .exe ?
When I for example try to compile this file (test.c) to test.exe :

#include <stdio.h>
     
         int
         main ()
         {
           printf ("%d \n" 10    //*
     		     / 2    //*/
     		       1
     		       );
           return 0;
         }

like this : GCC TEST.C

It says

gcc.exe: test.c: No such file or directory (ENOENT)
gcc.exe: No input files

And if I include some switches it says: CAN'T FIND STUDIO.H or something.

Whats wrong ???

sami DOT narhi AT avenet DOT fi






- Raw text -


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