I think I answered this one pre-emptively in my "background" post :)

On Mon, Apr 05, 2004 at 01:33:16PM -0700, Stas Bekman wrote:
> There is one more bit that is not clear to me:
> 
> httpd 2.1 gives me: -D_LARGEFILE64_SOURCE

... this is what's needed for using approach (2) to Doing LFS

> perl gives me: -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

... this is what's needed for using approach (1) to Doing LFS

> since we look for /-D_FILE_OFFSET_BITS=64/ and we don't find it on the 
> apache side we strip /-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64/, but now 
> that I've added EXTRA_CPPFLAGS, I get -D_LARGEFILE64_SOURCE pushed in. 
> Isn't that a problem? We strip -D_LARGEFILE_SOURCE but add 
> -D_LARGEFILE64_SOURCE? Aren't the two indicated the same thing?

No, they're different, and no, it isn't a problem, that's exactly the
desired outcome.

good: -D_LARGEFILE64_SOURCE
 bad: -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

Regards,

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to