Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Eli Zaretskii , DJ Delorie , djgpp-workers AT delorie DOT com, broeker AT physik DOT rwth-aachen DOT de Date: Mon, 31 Aug 1998 10:09:29 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: c++ linking faq References: In-reply-to: Precedence: bulk Eli Zaretskii wrote: > On Sun, 30 Aug 1998, Hans-Bernhard Broeker wrote: > > > 2) This would unconditionally link in a C++ library, even if there's not a > > single .cc file in the project > > I don't think so. If no object references any symbols in libstdc++.a, > then the linker won't link in anything from that library. And what about the time and memory needed to scan the libstdc++.a? I don't know if that's important but I think we must check it before even thinking about it. I don't know exactly why but ld is *very* slow under djgpp, the compiler isn't much slower than under Linux, but the linker is. SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013