Mail Archives: djgpp/1996/08/19/11:14:03
On 13 Aug 1996, Maan M. Hamze wrote:
> Chen Liu <chen AT geology DOT wisc DOT edu> 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Raw text -