From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: sorry stupid me -- figured it out on my own Date: 15 Jun 2000 10:46:36 GMT Organization: Aachen University of Technology (RWTH) Lines: 22 Message-ID: <8iac6c$c7i$1@nets3.rz.RWTH-Aachen.DE> References: <_UL15.21811$0T2 DOT 365344 AT typhoon DOT columbus DOT rr DOT com> <8i87pr$m3q$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 961065996 12530 137.226.32.75 (15 Jun 2000 10:46:36 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 15 Jun 2000 10:46:36 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Charles wrote: >> The output files are by default created in the current directory. 'cd' >> to where the sources are, before you compile, and the .o and .exe will >> be there, too. > that is not what it is doing -- it is putting it in /djgpp even though the > source is in /djgpp/myPrograms/ Then you're not doing what I told you to, at 99% confidence level. The procedure I outlined works perfectly for everyone else, so there's no sensible reason why it shouldn't work for you, too. Try the following, in a DOS window: cd c:\djgpp\myPrograms gcc -o t.exe test.c and you'll see that t.exe is in c:\djgpp\myPrograms. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.