bug-libsigsegv
[Top][All Lists]
Advanced

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

Re: [bug-libsigsegv] mingw failure


From: Sam Steingold
Subject: Re: [bug-libsigsegv] mingw failure
Date: Tue, 23 Aug 2011 17:18:26 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> * Eric Blake <address@hidden> [2011-08-23 15:02:52 -0600]:
>
> On 08/23/2011 02:52 PM, Sam Steingold wrote:
>> ../configure --prefix=/cygdrive/c/sds/src/top-mingw/ CC=i686-pc-mingw32-gcc
>> ...
>> libtool: link: i686-pc-mingw32-gcc -g -O2 -o cygwin1.exe cygwin1.o
>
> Why is a mingw build trying to compile a cygwin-specific test?  You
> didn't call configure correctly to let it know that you intended to do
> cross-compilation.  Try this:
>
> ./configure --prefix=/cygdrive/c/sds/src/top-mingw \
>   --host=i686-pc-mingw32 --build-i686-pc-mingw32
>
> That will automatically tell configure that you are doing cross
> compilation, and default to finding CC=i686-poc-mingw32-gcc without you
> having to explicitly request $CC.

I thought that setting CC would take care of this, i.e., configure
should call CC with -dumpmachine and compare that with the output of
uname (or whatever)...  Sorry.

> The only way to expect sane results when cross-compiling for mingw from
> a cygwin environment is to not lie to configure about the fact that you
> are cross-compiling.


still I see this:

checking whether we are cross compiling... no

and, as reported before, it hangs in

$ make
make TARGETSTACK=" all" all-recursive
make[1]: Entering directory 
`/cygdrive/c/sds/src/libsigsegv-2.10/build-i686-pc-mingw32'
Making all in src
make[2]: Entering directory 
`/cygdrive/c/sds/src/libsigsegv-2.10/build-i686-pc-mingw32/src'
/bin/sh ../libtool --tag=CC   --mode=compile i686-pc-mingw32-gcc 
-DHAVE_CONFIG_H -I. -I../../src -I.. -I. -I../../src    -g -O2 -c -o handler.lo 
../../src/handler.c
libtool: compile:  i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I. 
-I../../src -g -O2 -c ../../src/handler.c -o handler.o
/bin/sh ../libtool --tag=CC   --mode=compile i686-pc-mingw32-gcc 
-DHAVE_CONFIG_H -I. -I../../src -I.. -I. -I../../src    -g -O2 -c -o 
stackvma.lo ../../src/stackvma.c
libtool: compile:  i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I. 
-I../../src -g -O2 -c ../../src/stackvma.c -o stackvma.o
/bin/sh ../libtool --tag=CC   --mode=compile i686-pc-mingw32-gcc 
-DHAVE_CONFIG_H -I. -I../../src -I.. -I. -I../../src    -g -O2 -c -o leave.lo 
../../src/leave.c
libtool: compile:  i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I. 
-I../../src -g -O2 -c ../../src/leave.c -o leave.o
/bin/sh ../libtool --tag=CC   --mode=compile i686-pc-mingw32-gcc 
-DHAVE_CONFIG_H -I. -I../../src -I.. -I. -I../../src    -g -O2 -c -o 
dispatcher.lo ../../src/dispatcher.c
libtool: compile:  i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I. 
-I../../src -g -O2 -c ../../src/dispatcher.c -o dispatcher.o
/bin/sh ../libtool --tag=CC   --mode=compile i686-pc-mingw32-gcc 
-DHAVE_CONFIG_H -I. -I../../src -I.. -I. -I../../src    -g -O2 -c -o version.lo 
../../src/version.c
libtool: compile:  i686-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -I. 
-I../../src -g -O2 -c ../../src/version.c -o version.o
/bin/sh ../libtool --tag=CC   --mode=link i686-pc-mingw32-gcc  -g -O2 -rpath 
/cygdrive/c/sds/src/top-mingw/lib -version-info 2:3:0 -lc -no-undefined  -o 
libsigsegv.la -rpath /cygdrive/c/sds/src/top-mingw/lib handler.lo stackvma.lo 
leave.lo dispatcher.lo version.lo

oh well...

-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 
11.0.60900031
http://dhimmi.com http://memri.org http://palestinefacts.org
http://iris.org.il http://truepeace.org http://www.PetitionOnline.com/tap12009/
Islam is a religion of Peace. Its adherents will kill anyone who disagrees.



reply via email to

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