Date: Mon, 19 Aug 1996 09:09:53 -0600 (MDT) From: The Lost Wizard of Absolutely Nothing To: djgpp AT delorie DOT com Subject: Re: gxx compiling problem In-Reply-To: <01bb8944$0adc1ec0$a5cc5380@maan-m.-hamze> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 13 Aug 1996, Maan M. Hamze wrote: > Chen Liu wrote in article > <4uq5mc$j5q AT news DOT doit DOT wisc DOT edu>... > > Hi, Experts, > > > > I made gxx working on my win95 system at last by using "-O" instead of > "-o". > > Now a new problem appears: > > I use win95 and -o is working fine. > > > > when I typed: gxx -O average.exe average.C -lgpp -lgpl -lm > > it shows: average.exe can't be found > > hmmm.....why are you using gxx with a C program. If you look closely, it is a C++ program. Note that the extension is `.C', not `.c' As for why it can't find `average.exe', since you do not have `-o' specified, it assumes it is supposed to do something with `average.exe' which probably doesn't exist. Remember, `-O' stands for `optimize', not `output'. Well, I hope this helps. _______________________________________________________________________ William Astle, The Lost Wizard of Absolutely Nothing http://marcello.augustana.ab.ca/~astlew00/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "If it works in theory, try something else in practice." _______________________________________________________________________ astlew00 AT marcello DOT augustana DOT ab DOT ca astlw AT vivaldi DOT augustana DOT ab DOT ca astlew00 AT corelli DOT augustana DOT ab DOT ca astlw AT augustana DOT ab DOT ca ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~