On Fri, Dec 01, 2006 at 11:22:19AM -0800, Paul Eggert wrote:
> Eric Blake <[EMAIL PROTECTED]> writes:
>
> > Patch below. Keep replies on the autoconf-patches list.
>
> Thanks. In retrospect it was a mistake to append the trailing
> newline, I guess. I installed the following: it differs from y
Eric Blake <[EMAIL PROTECTED]> writes:
> Patch below. Keep replies on the autoconf-patches list.
Thanks. In retrospect it was a mistake to append the trailing
newline, I guess. I installed the following: it differs from your
patch only in adding more commentary.
2006-12-01 Eric Blake <[EMAI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Christopher Faylor on 12/1/2006 7:59 AM:
>
> I usually just set the appropriate "cache" variable ahead of time:
>
> ac_cv_dev_zero=yes ./configure
Except that mingw doesn't really have /dev/zero, and you should set
environment variables
On Fri, Dec 01, 2006 at 09:22:46AM -0500, Bob Rossi wrote:
>On Fri, Dec 01, 2006 at 07:06:06AM -0700, Eric Blake wrote:
>> According to Bob Rossi on 12/1/2006 6:57 AM:
>> > CPPFLAGS="-mno-cygwin" CFLAGS="-mno-cygwin -O0"
>> > ./configure --build=mingw32 --enable-experimental-libtool
>>
>> EVIL.
On Fri, Dec 01, 2006 at 07:06:06AM -0700, Eric Blake wrote:
> According to Bob Rossi on 12/1/2006 6:57 AM:
> > CPPFLAGS="-mno-cygwin" CFLAGS="-mno-cygwin -O0"
> > ./configure --build=mingw32 --enable-experimental-libtool
>
> EVIL. --build is for the platform you are BUILDING on (ie. cygwin), NO
> > Well, I downloaded the autoconf sources, but couldn't find the
> > AC_CHECK_SIZEOF code. I did find it in /usr/share/autoconf, but when I
> > modify it, the system autoconf behavior doesn't change. Any ideas?
>
> Patch below. Keep replies on the autoconf-patches list.
OK, this patch works pe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Bob Rossi on 12/1/2006 6:57 AM:
> CPPFLAGS="-mno-cygwin" CFLAGS="-mno-cygwin -O0"
> ./configure --build=mingw32 --enable-experimental-libtool
EVIL. --build is for the platform you are BUILDING on (ie. cygwin), NOT
the platform you are
* Eric Blake wrote on Fri, Dec 01, 2006 at 02:43:10PM CET:
> According to Bob Rossi on 12/1/2006 5:28 AM:
> >
> > I really think this is the current best solution, that is, to modify
> > autoconf to not use cat. Either that, or simply don't put the \n in the
> > AC_CHECK_SIZEOF macro. I'm not sure
On Thu, Nov 30, 2006 at 11:57:41PM -0500, Igor Peshansky wrote:
> On Thu, 30 Nov 2006, Eric Blake wrote:
> > Or experiment with the recent add-on to cygwin's bash, where exporting
> > SHELLOPTS with the cygwin-specific shell option igncr set will tell
> > subsequent /bin/sh invocations to strip \r
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Bob Rossi on 12/1/2006 5:28 AM:
>>> And the fact that you are now telling configure the truth that you are
>>> cross-compiling, even though the cross binaries are executable, may be
>>> enough for autoconf to try harder for discovering how
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Bob Rossi on 12/1/2006 5:28 AM:
>
>>> Or experiment with the recent add-on to cygwin's bash, where exporting
>>> SHELLOPTS with the cygwin-specific shell option igncr set will tell
>>> subsequent /bin/sh invocations to strip \r from comma
On Fri, 1 Dec 2006, Bob Rossi wrote:
> On Thu, Nov 30, 2006 at 11:57:41PM -0500, Igor Peshansky wrote:
> > On Thu, 30 Nov 2006, Eric Blake wrote:
> >
> > > According to Bob Rossi on 11/30/2006 7:32 PM:
> > >
> > > > AC_CHECK_SIZEOF does these two things on cygwin with autoconf 2.60.
> > > > fpri
On Thu, Nov 30, 2006 at 11:57:41PM -0500, Igor Peshansky wrote:
> On Thu, 30 Nov 2006, Eric Blake wrote:
>
> > According to Bob Rossi on 11/30/2006 7:32 PM:
> >
> > > AC_CHECK_SIZEOF does these two things on cygwin with autoconf 2.60.
> > > fprintf(f, "%d\n", sizeof($1));
> > > which prints "4\r
>
> Or have autoconf use some other tool that does not do binary
> processing
> (e.g., awk or tr) instead of cat, which would enable the text mount
> solution.
> Igor
Or make cygwin-pc-i686-gcc -mno-cygwin foo.c mean something subtly but
significantly
different from mingw32-pc-i686-gcc f
On Thu, 30 Nov 2006, Eric Blake wrote:
> According to Bob Rossi on 11/30/2006 7:32 PM:
>
> > AC_CHECK_SIZEOF does these two things on cygwin with autoconf 2.60.
> > fprintf(f, "%d\n", sizeof($1));
> > which prints "4\r\n" if the size is 4 and then
> > AC_CV_NAME=`cat conftestval`, ...
> > now
Eric Blake wrote:
What is the best way to resolve something like this?
Perhaps experiment with a cygwin text mount, so that cygwin cat will
ignore the \r. Or experiment with the recent add-on to cygwin's bash,
where exporting SHELLOPTS with the cygwin-specific shell option igncr set
will
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Bob Rossi on 11/30/2006 7:32 PM:
> Hi,
>
> If I'm using cygwin, with the -mno-cygwin gcc/g++ compiler option, then
> mingw is used.
Or more precisely, the -mno-cygwin switch in cygwin's gcc is a shorthand
for invoking a cross-compiler th
17 matches
Mail list logo