Date: Sat, 12 May 2001 16:08:13 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: pavenis AT lanet DOT lv Message-Id: <3277-Sat12May2001160812+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: (message from Andris Pavenis on Sat, 12 May 2001 14:55:23 +0300 (WET)) Subject: Re: [PATCH] linking mkdoc.exe with libstdcxx.a (needed for gcc-3.0) References: Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Sat, 12 May 2001 14:55:23 +0300 (WET) > From: Andris Pavenis > > On Sat, 12 May 2001, Eli Zaretskii wrote: > > > > Date: Sat, 12 May 2001 11:33:49 +0300 (WET) > > > From: Andris Pavenis > > > > > > --- 36,42 ---- > > > LD = ld > > > STRIP = strip > > > BISON = bison > > > + LIBSTDCXX = -lstdcxx > > > > Don't we need to use a specific libstdcxx, like we do with libgcc.a? > > E.g., what happens for a cross-build? > > For cross-build I'm setting > > LIBSTDCXX = -lstdc++ I've seen that, but I don't understand how would this work. Isn't libstdc++ built for a particular target? If so, this won't work unless there's only one libstdc++ on the host computer, and that single libstdc++ was built for DJGPP. What if I have two or more cross-compilers on that host, complete with their respective C++ libraries? Or am I missing something?