Building cross-compilers with sibling package trees

2005-07-06 Thread Doug Evans
Building a cross compiler from scratch "just works" (as in all one has to do is "configure, make all install") if all of binutils, gcc, newlib, libgloss, libstdc++, etc. are siblings. [At least this use to "just work".] The number of hoops one has to go through when this isn't the case can be pain

Re: Building cross-compilers with sibling package trees

2005-07-06 Thread Doug Evans
Eric writes: > > So your target audience is "people who use newlib, use the uberbaum > > build, and who work on multiple gcc trees", right? Seems > > like such a small audience it's not likely to be widely used, > > but that's just my impression. > > I agree unfortunately. Really if you're

Re: bug 24599

2005-11-03 Thread Doug Evans
A question for the general group. Is it really the case that it's ok that a testcase clobbers boolean_true_node and sets overflow? (and is this one case of a more general problem?) If that's not unintended, ok, but it seems confusing (aka source of bugs). Or, which is certainly not unexpected, is

Re: bug 24599

2005-11-03 Thread Doug Evans
It seems like there's a whole range of issues once boolean_true_node (or any such global tree node) has been clobbered. #include int main (int argc, char **argv) { if ((bool)((1527719483 + 1477819644))) { } return 0; } bool t1 = true; --- [EMAIL PROTECTED] gcc]$ ./xgcc -B./ -O3 -S foo2.

Re: stabs support in binutils, gcc, and gdb

2013-01-03 Thread Doug Evans
On Thu, Jan 3, 2013 at 9:52 AM, nick clifton wrote: >> Switching to DWARF causes our build products directory (which contains >> *NONE* of the intermediate files) to swell from 1.2 GB to 11.5 GB. >> Ouch! The DWARF ELF files are 8-12 times the size of the STABS ELF >> files. >> >> If the DWARF fi

Re: stabs support in binutils, gcc, and gdb

2013-01-11 Thread Doug Evans
On Fri, Jan 11, 2013 at 6:52 AM, David Taylor wrote: > Doug Evans wrote: >> So while plain dwarf may be 8-12x of stabs, progress has been made, >> and we shouldn't base decisions on incomplete analyses. > > ... > > If I use objcopy --compress-debug-sections to

Re: stabs support in binutils, gcc, and gdb

2013-01-14 Thread Doug Evans
On Fri, Jan 11, 2013 at 7:17 PM, Ian Lance Taylor wrote: > On Fri, Jan 11, 2013 at 5:55 PM, Cary Coutant wrote: >> >> Next, I compiled a 5000-line C++ source file at both -O0 and -O2. > > I have to assume that David is working with C code, as stabs debugging > for C++ is nearly unusable. That wa

Re: stabs support in binutils, gcc, and gdb

2013-01-14 Thread Doug Evans
On Fri, Jan 11, 2013 at 6:55 PM, Cary Coutant wrote: >>> If I use objcopy --compress-debug-sections to compress the DWARF debug >>> info (but don't use it on the STABS debug info), then the file size >>> ratio is 3.4. >>> >>> While 3.4 is certainly better than 11.5, unless I can come up with a >>>