| delorie.com/archives/browse.cgi | search |
| From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Newbie Compiler Problem |
| Date: | 17 Nov 2000 12:22:48 GMT |
| Organization: | Aachen University of Technology (RWTH) |
| Lines: | 25 |
| Message-ID: | <8v37uo$bvs$1@nets3.rz.RWTH-Aachen.DE> |
| References: | <P08R5.12933$Ry5 DOT 1762055 AT news3 DOT cableinet DOT net> |
| NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
| X-Trace: | nets3.rz.RWTH-Aachen.DE 974463768 12284 137.226.32.75 (17 Nov 2000 12:22:48 GMT) |
| X-Complaints-To: | abuse AT rwth-aachen DOT de |
| NNTP-Posting-Date: | 17 Nov 2000 12:22:48 GMT |
| Originator: | broeker@ |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Success <happiness AT cableinet DOT co DOT uk> wrote:
> gcc: exe: hello.exe: no such file or directory (ENOENT)
> gcc.exe: unrecgonised option '-0'
A typo in your command line. You wrote '-0' ("minus Zero") where you
should have written '-o' ("minus o").
Try the following command line, verbatim:
gcc -v hello.c -o hello.exe
(lower case 'o', there).
> Eli suggested typing the following command (to HalfHuman) :
> redir -e errors.txt -oe gcc -v hello.c
> To generate file errors.txt. I've done that, and no such file is generated.
What else happens? Any error messages? A crash? DOS window closes?
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |