X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Date: Wed, 26 Jan 2005 18:07:14 -0700 From: Brian Inglis Subject: Re: Problems with long command lines in DJGPP In-reply-to: <200501261833.j0QIXceb017727@envy.delorie.com> To: djgpp-workers AT delorie DOT com Message-id: <8lfgv0pvjl6st9oqjucjf5t6maqp4p7f0q@4ax.com> Organization: Systematic Software MIME-version: 1.0 X-Mailer: Forte Agent 1.93/32.576 English (American) Content-type: text/plain; charset=us-ascii References: <200501241804 DOT 18985 DOT pavenis AT latnet DOT lv> <200501251105 DOT 26190 DOT pavenis AT latnet DOT lv> <01c50319$Blat.v2.4$3babaea0 AT zahav DOT net DOT il> <200501260912 DOT 24266 DOT pavenis AT latnet DOT lv> <01c503d3$Blat.v2.4$75be0f60 AT zahav DOT net DOT il> <200501261833 DOT j0QIXceb017727 AT envy DOT delorie DOT com> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j0R18pEw005586 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 rOn Wed, 26 Jan 2005 13:33:38 -0500, DJ Delorie wrote: > >> > PS. maybe it is time to get rid of collect2.exe in DJGPP port of >> > gcc. >> >> I agree. At the very least, we should retain collect2.exe, but >> disable it by default (i.e., the default link command will not invoke >> collect2). Does that make sense? > >There are still some C++ things that collect2 can do that ld can't. I >don't recall exactly what offhand, but I have asked this question on >the gcc list before. AFAICT -frepo supports implicit template class instantiation by recompiling object modules including the required template class method instances, as opposed to -fno-implicit-templates, which requires explicit template class method instantiation; so as long as you continue to invoke collect2 when -frepo is specified, everything should be okay. Or maybe I'm preaching to the choir? -- Thanks. Take care, Brian Inglis