Date: Sat, 12 May 2001 18:51:55 +0300 (WET) From: Andris Pavenis To: Eli Zaretskii Cc: djgpp-workers AT delorie DOT com Subject: Re: [PATCH] linking mkdoc.exe with libstdcxx.a (needed for gcc-3.0) In-Reply-To: <3277-Sat12May2001160812+0300-eliz@is.elta.co.il> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Sat, 12 May 2001, Eli Zaretskii wrote: > > 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? > Verified. After patch all works OK when I building under Linux (using gcc-3.0 both for host and target): make -C mkdoc building new response file gcc -g -O2 -pipe mkdoc.cc -lstdc++ -o ../../hostbin/mkdoc.exe Andris