www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/19/11:14:03

Date: Mon, 19 Aug 1996 09:09:53 -0600 (MDT)
From: The Lost Wizard of Absolutely Nothing <astlew00 AT Marcello DOT Augustana DOT AB DOT CA>
To: djgpp AT delorie DOT com
Subject: Re: gxx compiling problem
In-Reply-To: <01bb8944$0adc1ec0$a5cc5380@maan-m.-hamze>
Message-ID: <Pine.LNX.3.91.960819090449.10238A-100000@Marcello.Augustana.AB.CA>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019