Mail Archives: djgpp/1996/08/13/14:30:45
Xref: | news2.mv.net comp.os.msdos.djgpp:7198
|
From: | chen AT geology DOT wisc DOT edu (Chen Liu)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | gxx compiling problem
|
Date: | 13 Aug 1996 15:06:52 GMT
|
Organization: | Department of Geology & Geophysics, University of Wisconsin - Madison.
|
Lines: | 18
|
Distribution: | world
|
Message-ID: | <4uq5mc$j5q@news.doit.wisc.edu>
|
NNTP-Posting-Host: | ice.geology.wisc.edu
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hi, Experts,
I made gxx working on my win95 system at last by using "-O" instead of "-o".
Now a new problem appears:
when I typed: gxx -O average.exe average.C -lgpp -lgpl -lm
it shows: average.exe can't be found
but if I type: gxx average.o -lgpp -lgpl -lm
it create the executable file a.exe as well as a.out which is what I wanted.
Could you point out why as on Unix "g++ -o average average.C" works?
Thanks!
Chen
--
Chen Liu
chen AT geology DOT wisc DOT edu
- Raw text -