bug-gnulib
[Top][All Lists]
Advanced

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

Re: Patch for the getpagesize module


From: Bruno Haible
Subject: Re: Patch for the getpagesize module
Date: Fri, 7 Dec 2007 12:19:25 +0100
User-agent: KMail/1.5.4

Martin Lambers wrote:
> Do you want to replace the getpagesize function from libgcc.a on MinGW
> with the implementation above? Or do you want the implementation above
> only for native Windows variants that don't have getpagesize? 

The former. The function from libgcc.a is maybe not correct in all situations
(think of 64-bit Windows), therefore I would use the replacement also on mingw.

> How can I test for these platforms in getpagesize.m4? 
> I'd test for MinGW with something like this:
> 
> AC_REQUIRE([AC_CANONICAL_HOST])
> case "$host_os" in
>   mingw*)
>     AC_LIBOBJ([getpagesize])
>     ;;
> esac

Yes, this is ok.

> I could not find the host_os names of other W32 variants.

Some years ago there was also another "native" Win32 port attempt, called
pw32, but I haven't heard from it in several years. I'm still waiting for
someone to "start" using a Win32 port that uses wrapper scripts around
MSVC (e.g. cccl) but it apparently has not happened now: config.guess and
config.sub don't contain info abort such a platform.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]