Article View: gnu.g++.help
Article #766Re: ")" HUGE! output from 2.7.0!
From: Klamer Schutte
Date: Fri, 15 Sep 1995 07:24
Date: Fri, 15 Sep 1995 07:24
26 lines
1668 bytes
1668 bytes
In <9509141449.AA03897@vital> albert@inrs-telecom.uquebec.ca (Albert Golembiowski) writes: :ag> From: khan@xraylith.wisc.edu (Mumit Khan) writes: :~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :<snip>----------------------------- :ag> IMO, is to upgrade to 2.7.0 and use the repo patch; I've seen upto 50% :ag> reduction in executable sizes using -frepo instead of : ^^^^^^ :ag> -fno-implicit-templates and supplying gcc 2.6.3 with manual :<snip>----------------------------- :Could you elaborate on why using `-frepo' might have any influence on :the exec size? I thought it is only picking up missing template :instantiations and I don't see how this can have any impact. With g++ 2.6.3 you typically instantiate a whole class. This means that also member functions are instantiated which you do not need -- and which possible also need other template instantiations. The -frepo option only expands those member actually needed (which still can be more then used, for example when you have virtual member functions.) Klamer -- Klamer Schutte -- +31-15-786054 -- klamer@ph.tn.tudelft.nl http://www.ph.tn.tudelft.nl/People/klamer/Klamer.html
Technical Details
Message-ID:
<43b9n5$jfp@cyber.tn.tudelft.nl>Path:
arc1-ca.pugleaf.net!cyber.tn.tudelft.nl!klamerReferences:
<436us0$13e2@news.doit.wisc.edu> <9509141449.AA03897@vital>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!cyber.tn.tudelft.nl!klamer From: klamer@ph.tn.tudelft.nl (Klamer Schutte) Newsgroups: gnu.g++.help,comp.lang.c++ Subject: Re: ")" HUGE! output from 2.7.0! Date: 15 Sep 1995 07:24:21 GMT Organization: Delft University of Technology Message-ID: <43b9n5$jfp@cyber.tn.tudelft.nl> References: <436us0$13e2@news.doit.wisc.edu> <9509141449.AA03897@vital> NNTP-Posting-Host: spica.ph.tn.tudelft.nl X-Newsreader: NN version 6.5.0 (NOV)