Re: AC_SYS_LARGEFILE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Bob,
Many thanks for your repsonse!

Bob Friesenhahn (2023/09/11 11:28 -0500):
> On Mon, 11 Sep 2023, Sébastien Hinderer wrote:
>
> > Dear all,
> >
> > I am writing with a quesiton about the AC_SYS_LARGEFILE macro.
> >
> > It would be great to be able to use it but according to its
> > documentation, the macro adds its flags to the CC output variable, which
> > is not convenient in my context because we have dedicated variables not
> > only for C flags but also for C preprocessor flags. Thus, what I'd
> > ideally need is a version of the macro where I can somehow specify what to
> > do with both large-file related CFLAGS and CPPFLAGS.
>
> The pre-processor and linker options produced are not like normal
> pre-processor and linker options so they are treated differently.  If they
> are not submitted via CC / LD, then the final result might not work
> properly.

That's surprising to me. Even if those options are needed all the way
down, why wouldn't CFLAGS be enough? Also for a -D optionI am
assuminigthat there is only the C preprocessor whichknos what to do
with it?

Best wishes,

Sébastien.




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux