X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: 09 May 2004 07:56:23 +0200 Message-Id: From: Eli Zaretskii 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> <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 Precedence: bulk > From: "wordsworth" > 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.