delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/05/12/09:07:41

Date: Sat, 12 May 2001 16:08:13 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
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: <Pine.A41.4.05.10105121454350.51828-100000@ieva06.lanet.lv>
(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: <Pine DOT A41 DOT 4 DOT 05 DOT 10105121454350 DOT 51828-100000 AT ieva06 DOT lanet DOT lv>
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

> Date: Sat, 12 May 2001 14:55:23 +0300 (WET)
> From: Andris Pavenis <pavenis AT lanet DOT lv>
> 
> On Sat, 12 May 2001, Eli Zaretskii wrote:
> 
> > > Date: Sat, 12 May 2001 11:33:49 +0300 (WET)
> > > From: Andris Pavenis <pavenis AT lanet DOT lv>
> > > 
> > > --- 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?

- Raw text -


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