delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/15/01:07:18

From: "Osah" <osah AT geneva-link DOT ch>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Gpp compiler
Date: Sat, 15 Apr 2000 00:56:12 +0200
Organization: Usenet provided by sunrise communications ag
Lines: 32
Message-ID: <8d87k2$htn$1@news1.sunrise.ch>
References: <8d4naf$f9m$1 AT news1 DOT sunrise DOT ch> <200004131720 DOT WAA01910 AT midpec DOT com> <8d7sss$c1u$1 AT news1 DOT sunrise DOT ch> <38F78E68 DOT 8D3F0354 AT is DOT elta DOT co DOT il>
NNTP-Posting-Host: 194.230.189.195
X-Trace: news1.sunrise.ch 955752898 18359 194.230.189.195 (14 Apr 2000 22:54:58 GMT)
X-Complaints-To: usenet AT sunrise DOT ch
NNTP-Posting-Date: 14 Apr 2000 22:54:58 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I've included the original message below:

// Message Starts
Well, i've almost given up hope in figuring this one out by myself.
I've being using Borland C++ compilers for a long time now and decided to
try and use DJGPP (because of allegro's libraries and some other features
with the compiler). I downloaded all the necessary files to start
programming in C and writing programs with Allegro, then recently i decided
to try the compiler (gcc) out with C++ codes. I got a lot of errors and then
found out that i needed to install the C++ version of the compiler (gpp),
which i did, unzipped the files to my DJGPP directory using Winzip, compiled
a program using vectors and got the following message:

 "Error no file names given" <---- Why should it give me this message when i
compiled my program like this:

 gpp test.cpp

or like this

 gpp test.cpp -otest.exe -llibstdcxx [even with the .a extension]

Is there something i'm supposed to do first before trying to compile my
program.

Cable_TXG

// Message Ends

I've tried gxx and gcc, but still no luck....


- Raw text -


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