Mail Archives: djgpp-workers/2001/05/13/09:14:12
On Sat, 12 May 2001, Eli Zaretskii wrote:
> I've seen that, but I don't understand how would this work. Isn't
> libstdc++ built for a particular target?
Yes, of course it is.
> 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?
A correctly installed GCC is supposed to install libraries into
target-dependant paths (i.e. on my aged Digital-Unix/Alpha to DJGPP cross
builds, there's a $prefix/i586-msdos-djgpp/lib where this kind of stuff is
kept. Cross-GCC automatically searches there, first, and thus finds the
correct version.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -