delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/05/09/01:07:34

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: 09 May 2004 07:56:23 +0200
Message-Id: <ufzaa2lfc.fsf@gnu.org>
From: Eli Zaretskii <eliz AT gnu DOT org>
To: djgpp AT delorie DOT com
In-reply-to: <409cbb68_1@mk-nntp-2.news.uk.tiscali.com>
Subject: Re: DJPGG and Windows XP Professional + I think a Undefined Reference or linker problem
References: <409a7633_1 AT mk-nntp-2 DOT news DOT uk DOT tiscali DOT com> <c7fdq0$9c3$1 AT antares DOT lu DOT erisoft DOT se> <7b68d58f DOT 0405070609 DOT e22b8c1 AT posting DOT google DOT com> <409cbb68_1 AT mk-nntp-2 DOT news DOT uk DOT tiscali DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "wordsworth" <news AT callera DOT net>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 8 May 2004 11:50:13 +0100
> 
> he C++
> standard library is linked by default with gpp.  How does this manifest
> itself - I dont mean where is the C++ library, but rather how is it linked?

The gpp compiler driver instructs the linker (ld.exe) to scan the C++
libraries.  When the linker scans them, it links into the binary any
functions that the program and its subroutines call.

> Is it compiled into a binary or can I define its location (add config
> switches) in a config file?

It is compiled into the binary.  DJGPP doesn't support shared
libraries (a.k.a. DLLs), as of now.

> I want to avoid having to add extra suff to the compiler line when
> excuting cmd line compiles e.g. gpp test.cc -o test.exe.

What exactly is ``extra stuff'' you want to avoid in this command
line?  To me, it looks like a pretty much minimal compilation command.

- Raw text -


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