cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/27/02:58:53

Date: Wed, 27 Jan 1999 09:56:07 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Ralf Neumann <ralf_neumann AT hotmail DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: djgpp
In-Reply-To: <19990126143913.27518.qmail@hotmail.com>
Message-ID: <Pine.SUN.3.91.990127095544.25202F-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Tue, 26 Jan 1999, Ralf Neumann wrote:

>   But how do I go on, and if I have to use something like ld -o main.exe 
> a.o b.o in the end,  how do I include iostream (here I guess  -lgpp 
> doesn't work).

This is explained in the file README.1ST, and again in the beginning
of the DJGPP FAQ list.

To link several C++ object files together, say something like this:

	gcc -o main.exe a.o b.o -lstdcxx -lm

(You can omit -lm if you don't use non-ANSI math functions.)

- Raw text -


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