www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/13/11:21:13

From: Alexey Zakhlestine <alx AT gs707 DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Gpp compiler
Date: Thu, 13 Apr 2000 19:20:09 +0400
Organization: MTU-Intel ISP
Lines: 23
Message-ID: <38F5E5A9.D4FB4381@gs707.com>
References: <8d4naf$f9m$1 AT news1 DOT sunrise DOT ch>
NNTP-Posting-Host: ppp97-144.dialup.mtu-net.ru
Mime-Version: 1.0
X-Trace: gavrilo.mtu.ru 955639230 47092 212.188.97.144 (13 Apr 2000 15:20:30 GMT)
X-Complaints-To: usenet-abuse AT mtu DOT ru
NNTP-Posting-Date: 13 Apr 2000 15:20:30 GMT
X-Mailer: Mozilla 4.7 [en] (Win95; I)
X-Accept-Language: ru,en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Osah wrote:

>  gpp test.cpp

you should use gxx, not gpp
gpp is GNU-PreProcessor, as far as I know

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

same as above, and! You shouldnt use -llibstdcxx, you should use -lstdcxx
you are supposed to cut "lib" from library names when linking

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

nope
you should JUST use correct syntax

--
Hi, I'm a signature virus. plz set me as your signature and help me spread
:)


- Raw text -


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