Xref: news2.mv.net comp.os.msdos.djgpp:7621 From: "Maan M. Hamze" Newsgroups: comp.os.msdos.djgpp Subject: Re: gxx compiling problem Date: 13 Aug 1996 18:20:13 GMT Organization: University of Texas at Austin Lines: 35 Message-ID: <01bb8944$0adc1ec0$a5cc5380@maan-m.-hamze> References: <4uq5mc$j5q AT news DOT doit DOT wisc DOT edu> NNTP-Posting-Host: slip-11-5.ots.utexas.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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. Try: gcc average.c -o average.exe etc... But since you are using -lgpp it looks like you have a cc source code. Then try to change the extension to average.cc and use gxx average.cc -o average.exe -lgpl -lm gpp is automatically found or compile using gcc gcc -c average.cc and link using gxx gxx -o average.exe average.o etc..... I do not know if this answers your question. hope so! M -- Maan M. Hamze mmhamze AT mail DOT utexas DOT edu http://leb.net/~mmhamze