This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Sync libiberty with gcc


> Unfortunately, this part of the change breaks the build on Solaris 2.9.
> And according to the gnulib documentation that function, it looks like
> it'll break the build on the following hosts:
> 
>         NetBSD 3.0, OpenBSD 3.8, Minix 3.1.8, IRIX 6.5, OSF/1 4.0,
>         Solaris 9, Cygwin, MSVC 9, Interix 3.5, BeOS.
> 
> Not knowing D and whether you actually need long-double precision
> or not, I didn't try to fix it. But it looks like the best option
> would probably to add an strtold configure check, and then fallback
> on strtod if strtold isn't available (and error out if strtod isn't)?

Just a quick note to say that I am working on a patch that I'll apply
internally, so I might as well send it to gcc-patches as well.
If it is actually the best way to fix this, then it'll save you
the trouble.


-- 
Joel


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