delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/13/10:55:50

From: "Osah" <osah AT geneva-link DOT ch>
Newsgroups: comp.os.msdos.djgpp
Subject: Gpp compiler
Date: Thu, 13 Apr 2000 17:00:05 +0200
Organization: Usenet provided by sunrise communications ag
Lines: 25
Message-ID: <8d4naf$f9m$1@news1.sunrise.ch>
NNTP-Posting-Host: 194.230.188.245
X-Trace: news1.sunrise.ch 955637903 15670 194.230.188.245 (13 Apr 2000 14:58:23 GMT)
X-Complaints-To: usenet AT sunrise DOT ch
NNTP-Posting-Date: 13 Apr 2000 14:58:23 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

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


- Raw text -


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