delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/05/10:46:03

From: "EarlBlunt" <earlblunt AT usa DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <199809041845 DOT OAA15564 AT delorie DOT com>
Subject: Re: Hi
Date: Sat, 5 Sep 1998 22:40:04 -0700
Lines: 43
NNTP-Posting-Host: mr-84-97.tm.net.my
Message-ID: <35f14cd8.0@news4>
Organization: TMnet Malaysia
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

goto options and change the directory to the directory of .c file
for me, i save all my .c files in the same directory as the program files of
djgpp
but i hide the programs files
it would be better this way
coz you wont need to change the dir when u go and compile

Sami Narhi wrote in message <199809041845 DOT OAA15564 AT delorie DOT com>...
>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