This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: decunix egcs bug for STL?


Thanks for your help.  Still a few questions.

On 27 Sep 1998, Alexandre Oliva wrote:
> John R Cary <cary@txcorp.com> writes:
> 
> > I have been trying to get egcs working on decunix.
> 
> > /usr/local/egcs/bin/g++ -g -Wall -Woverloaded-virtual -I.    -c PropertyData.C
> > mips-tfile, /tmp/ccaaatya.s:304 String too big (4304 bytes)
> 
> Please read the new FAQ entry below.
> 
> Ok to install?
> 
> Index: faq.html
> ..
> *** 834,839 ****
> --- 836,866 ----
>   <h2><a name="irixlinks">Links to other FAQs for GCC on Irix platforms </a></h2>
>   <p><a href="http://reality.sgi.com/ariel/freeware/"> 
>   http://reality.sgi.com/ariel/freeware</a>
> + 
> + <hr>
> + <h2><a name="squangle">How to work around too long C++ symbol names? 
> + (<tt>-fsquangle</tt>)</a></h2>
> + 
> + <p>If the standard assembler of your platform can't cope with the
> + large symbol names that the default g++ name mangling mechanism
> + produces, your best bet is to use GNU as, from the GNU binutils
> + package.
> + 
> + <p>Unfortunately, GNU as does not support all platforms supported by
> + egcs, so you may have to use an experimental work-around: the

Yes.  This is true for my dec alpha:

hercules.cary$ ./configure
Configuring for a alphaev56-dec-osf4.0d host.
*** This configuration is not supported in the following subdirectories:
     gas ld

> + <tt>-fsquangle</tt> option, that enables compression of symbol names.
> + 
> + <p>Note that this option is still under development, and subject to
> + change.  Since it modifies the name mangling mechanism, you'll need to
> + build libstdc++ and any other C++ libraries with this option enabled.
> + Furthermore, if this option changes its behavior in the future, you'll
> + have to rebuild them all again. :-(
> + 
> + <p>This option can be enabled by default by initializing
> + `flag_do_squangling' with `1' in `gcc/cp/decl2.c', then rebuilding
> + egcs and any C++ libraries.

I looked in this file and saw:

{"squangle", &flag_do_squangling, 1}

If I understand your comment, this means that this is already
defaulted to 1?

Thanks...John Cary

-- 
                              John R. Cary                                 
cary@colorado.edu                                    cary@txcorp.com
Department of Physics                                Tech-X Corporation
University of Colorado                               Boulder, CO 80301
Boulder, CO 80309-0390                               
ph. (303) 492-1489                                   ph. (303) 448-0728
fax (303) 492-0642                                   fax (303) 448-7756



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]