------- Comment #3 from w6ws at earthlink dot net 2008-07-03 17:57 ------- Subject: Re: Compiler aborts with no message when libgmp and/or libmpfr are missing
pinskia at gcc dot gnu dot org wrote: > ------- Comment #2 from pinskia at gcc dot gnu dot org 2008-07-03 17:46 > ------- > This is an OS issue really. Or maybe a distribution of GCC issue which is not > a bug which the FSF should worry about. That is the binary distributers did > not distribute GMP/MPFR with GCC or did not compiler GMP/MPFR as being static. In this case, Tobias is the 'binary distributor'... (And I really appreciate his efforts!) > I think we can declare this as invalid based on that fact and the fact we > don't > support binary distributions. Not user-friendly. I can offer two suggestions: 1.) If shared libs are being used, try doing a dlopen on the library to make sure it is available. If it is not available, an error message can be printed before aborting. 2.) A signal handler can be written to catch the jump into nowhere. Again, an error message can be printed. Walter -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36721