From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Wilson To: karipid@mae.cornell.edu (Daniel Karipides) Cc: egcs@cygnus.com Subject: Re: pre-build advice Date: Wed, 06 May 1998 02:02:00 -0000 Message-id: <199805060328.UAA26261@rtl.cygnus.com> References: <199805042050.QAA06242@scotch.mae.cornell.edu> X-SW-Source: 1998-05/msg00173.html Others have commented on the linux parts, I will just comment on the SGI stuff. (3) For the SGI's, would people recommend using gas for 5.3? I know that gas _should not_ be used for 6.2. I assume I should get the latest binutils (2.9) so that I have ranlib. You need gas if you want -g to work, so yes, I would recommend it. There is a bug in the binutils 2.9 mips support, so you would want 2.9.1. I don't know offhand if anyone has tested a egcs/gcc bootstrap with 2.9.1 on a irix5 system yet. If you use binutils 2.8, C++ EH won't work. You need binutils from at least Aug/Sep 1997 for that to work. Most of the various linux binutils releases will probably do. (4) Given that gdb-4.1.7 is out, is there any reasons not to use DWARF2 debugging information; i.e., configure with the --with-stabs option, for example? I don't think anyone has tested the dwarf2 support on an irix5 system, but you are welcome to try. You would need to use gas, because the irix5 SGI as won't handle dwarf2. --with-stabs is the best tested and most likely to work choice. Dwarf2 is the default for irix6. --with-stabs won't do anything. You can get dwarf2 debug info on a linux system by using -ggdb, but they still default to stabs. (5) If I build glibc2, binutils, etc with an old version of cc (on SGI) or gcc (on linux), do I need to rebuild them once I get egcs compiled? Explicitly, do I have to: -build binutils, etc with old compiler -build egcs -build binutils, etc with egcs -build egcs using egcs built with the new binutils, etc. Build binutils. Build egcs. Build glibc2 and other libraries with egcs. There is no particular need to rebuild binutils with egcs Jim