Message-Id: <35F058A7.3ABF@cableol.co.uk> Date: Fri, 04 Sep 1998 22:16:23 +0100 From: Allens Mime-Version: 1.0 To: @lux DOT iuakk DOT fi AT mars DOT cableol DOT net Cc: djgpp AT delorie DOT com Subject: Re: Hi References: <199809041845 DOT OAA15564 AT delorie DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Sami Narhi wrote: > > How do you compile .c to .exe ? > When I for example try to compile this file (test.c) to test.exe : > #include int main () { printf ("%d \n" ,10); return 0; } > like this : GCC TEST.C Try gcc test.c -o test.exe > > 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 Try reading the readme.1st, and using the corrected code above. (You can't use comments in the middle of a command). If you have any furture problems, try a)reading the faq b)posting the whole of the test that gcc puts out. Do this using the redir utility. Peter Allen