ostream and long long

Andris Pavenis andris@hal.astr.lu.lv
Thu Jul 26 03:39:00 GMT 2001


On 26 Jul 2001, Gabriel Dos Reis wrote:

> Andris Pavenis <andris@hal.astr.lu.lv> writes:
>
> | > If --enable-long-long, then the accompanying C99 mathematical
> | > functions should be availble for long long support.  They are not
> | > unreleated.
> | >
> |
> | Do we really need sqrtf(), sqrtl(), sinl() and similar functions to
> | support long long? I think the best would be to check for functions
> | we really need for --enable-long-long instead of disabling it
> | if at least one of functions added with c99 is missing
>
> We did similar things in the past.  Please check the archive for
> the numerous complains and discussions about configure time & checking
> separately for truly minimal subsets.
>

I think it's not so complicate. One can assign something like
	ac_supports_long_long=yes
on --enable-long-long and reset it to 'no' if at least one of
functions really needed for this option is not implemented. One only
neededs to add 'ac_supports_long_long=no' additionally to other assignment
in libstdc++-v3/acinclude.m4 and I don't think that one  will get
significant increase of compilation time (I think one will not
feel any difference).

I'm going to do something similar for building gcc-3.0.X for DJGPP.

Andris



More information about the Gcc-bugs mailing list