X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_50,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <50F6B64644A84DE8A7F93B2DE2DA14FA@desktop2> From: "Sisyphus" To: "cygwin" Subject: Cross-compiling for i686-pc-mingw32 Date: Sat, 7 Aug 2010 23:45:20 +1000 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00AB_01CB368A.989C06A0" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com ------=_NextPart_000_00AB_01CB368A.989C06A0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Hi, With cygwin-1.5.25 I can cross-compile libraries for native win32 by starting with the following configure command: ./configure --host=i686-pc-mingw32 --build=i686-pc-cygwin CC='gcc -mno-cygwin' host_alias=i686-pc-mingw32 and that has worked fine on the few occasions that I've tried it. However, with cygwin-1.7.5, it doesn't work. To begin with, '-mno-cygwin' now causes an error - so I've tried removing the CC argument and leaving the rest of the command unchanged. Then the building of the library (currently proj-4.7.0) works fine - but the resulting library is built for i686-pc-cygwin, not for i686-pc-mingw32. Do I need to run a different configure command ? Or have I missed something ? Attached is the config.log for one of my cross-compilation attempts. In it I see: configure:3745: checking build system type configure:3763: result: i686-pc-cygwin configure:3785: checking host system type configure:3800: result: i686-pc-mingw32 However, proj.exe (one of the executables that gets built) needs the cygwin dll in order to run. With cygwin-1.5.25, proj.exe is definitely a win32 app (doesn't need the cygwin dll). Cheers, Rob ------=_NextPart_000_00AB_01CB368A.989C06A0 Content-Type: application/octet-stream; name="config.log" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by PROJ.4 Projections configure 4.7.0, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure --host=3Di686-pc-mingw32 --build=3Di686-pc-cygwin ## --------- ## ## Platform. ## ## --------- ## hostname =3D desktop2 uname -m =3D i686 uname -r =3D 1.7.5(0.225/5/3) uname -s =3D CYGWIN_NT-6.0-WOW64 uname -v =3D 2010-04-12 19:07 /usr/bin/uname -p =3D unknown /bin/uname -X =3D unknown /bin/arch =3D i686 /usr/bin/arch -k =3D unknown /usr/convex/getsysinfo =3D unknown /usr/bin/hostinfo =3D unknown /bin/machine =3D unknown /usr/bin/oslevel =3D unknown /bin/universe =3D unknown PATH: /home/Rob/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /cygdrive/c/ruby/bin PATH: /cygdrive/c/Windows/system32 PATH: /cygdrive/c/Windows PATH: /cygdrive/c/Windows/System32/Wbem PATH: /cygdrive/c/batch ## ----------- ## ## Core tests. ## ## ----------- ## configure:1995: checking for a BSD-compatible install configure:2051: result: /usr/bin/install -c configure:2062: checking whether build environment is sane configure:2105: result: yes configure:2133: checking for a thread-safe mkdir -p configure:2172: result: /usr/bin/mkdir -p configure:2185: checking for gawk configure:2201: found /usr/bin/gawk configure:2212: result: gawk configure:2223: checking whether make sets $(MAKE) configure:2244: result: yes configure:2324: checking for i686-pc-mingw32-strip configure:2354: result: no configure:2364: checking for strip configure:2380: found /usr/bin/strip configure:2391: result: strip configure:2405: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf AT gnu DOT org. configure:2432: checking whether to enable maintainer-specific portions of = Makefiles configure:2441: result: no configure:2465: checking for i686-pc-mingw32-gcc configure:2495: result: no configure:2505: checking for gcc configure:2521: found /usr/bin/gcc configure:2532: result: gcc configure:2770: checking for C compiler version configure:2777: gcc --version >&5 gcc (GCC) 4.3.4 20090804 (release) 1 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2780: $? =3D 0 configure:2787: gcc -v >&5 Using built-in specs. Target: i686-pc-cygwin Configured with: /gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4= .3.4/configure --srcdir=3D/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/= src/gcc-4.3.4 --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sb= indir=3D/usr/sbin --libexecdir=3D/usr/lib --datadir=3D/usr/share --localsta= tedir=3D/var --sysconfdir=3D/etc --infodir=3D/usr/share/info --mandir=3D/us= r/share/man --datadir=3D/usr/share --infodir=3D/usr/share/info --mandir=3D/= usr/share/man -v --with-gmp=3D/usr --with-mpfr=3D/usr --enable-bootstrap --= enable-version-specific-runtime-libs --with-slibdir=3D/usr/bin --libexecdir= =3D/usr/lib --enable-static --enable-shared --enable-shared-libgcc --disabl= e-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exc= eptions --enable-languages=3Dada,c,c++,fortran,java,objc,obj-c++ --disable-= symvers --enable-libjava --program-suffix=3D-4 --enable-libgomp --enable-li= bssp --enable-libada --enable-threads=3Dposix --with-arch=3Di686 --with-tun= e=3Dgeneric --enable-libgcj-sublibs CC=3Dgcc-4 CXX=3Dg++-4 CC_FOR_TARGET=3D= gcc-4 CXX_FOR_TARGET=3Dg++-4 GNATMAKE_FOR_TARGET=3Dgnatmake GNATBIND_FOR_TA= RGET=3Dgnatbind AS=3D/opt/gcc-tools/bin/as.exe AS_FOR_TARGET=3D/opt/gcc-too= ls/bin/as.exe LD=3D/opt/gcc-tools/bin/ld.exe LD_FOR_TARGET=3D/opt/gcc-tools= /bin/ld.exe --with-ecj-jar=3D/usr/share/java/ecj.jar Thread model: posix gcc version 4.3.4 20090804 (release) 1 (GCC)=20 configure:2790: $? =3D 0 configure:2797: gcc -V >&5 gcc: '-V' option must have argument configure:2800: $? =3D 1 configure:2823: checking for C compiler default output file name configure:2850: gcc conftest.c >&5 configure:2853: $? =3D 0 configure:2891: result: a.exe configure:2908: checking whether the C compiler works configure:2938: result: yes configure:2945: checking whether we are cross compiling configure:2947: result: yes configure:2950: checking for suffix of executables configure:2957: gcc -o conftest.exe conftest.c >&5 configure:2960: $? =3D 0 configure:2984: result: .exe configure:2990: checking for suffix of object files configure:3016: gcc -c conftest.c >&5 configure:3019: $? =3D 0 configure:3042: result: o configure:3046: checking whether we are using the GNU C compiler configure:3075: gcc -c conftest.c >&5 configure:3081: $? =3D 0 configure:3098: result: yes configure:3103: checking whether gcc accepts -g configure:3133: gcc -c -g conftest.c >&5 configure:3139: $? =3D 0 configure:3238: result: yes configure:3255: checking for gcc option to accept ISO C89 configure:3329: gcc -c -g -O2 conftest.c >&5 configure:3335: $? =3D 0 configure:3358: result: none needed configure:3387: checking for style of include used by make configure:3415: result: GNU configure:3440: checking dependency style of gcc configure:3531: result: gcc3 configure:3559: checking for a BSD-compatible install configure:3615: result: /usr/bin/install -c configure:3626: checking whether ln -s works configure:3630: result: yes configure:3637: checking whether make sets $(MAKE) configure:3658: result: yes configure:3745: checking build system type configure:3763: result: i686-pc-cygwin configure:3785: checking host system type configure:3800: result: i686-pc-mingw32 configure:3822: checking for a sed that does not truncate output configure:3878: result: /usr/bin/sed configure:3881: checking for grep that handles long lines and -e configure:3955: result: /usr/bin/grep configure:3960: checking for egrep configure:4038: result: /usr/bin/grep -E configure:4054: checking for ld used by gcc configure:4121: result: /usr/i686-pc-cygwin/bin/ld.exe configure:4130: checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is = GNU ld configure:4145: result: yes configure:4150: checking for /usr/i686-pc-cygwin/bin/ld.exe option to reloa= d object files configure:4157: result: -r configure:4175: checking for BSD-compatible nm configure:4224: result: nm configure:4228: checking how to recognize dependent libraries configure:4414: result: file_magic ^x86 archive import|^x86 DLL configure:4655: checking how to run the C preprocessor configure:4695: gcc -E conftest.c configure:4701: $? =3D 0 configure:4732: gcc -E conftest.c conftest.c:10:28: error: ac_nonexistent.h: No such file or directory configure:4738: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "PROJ.4 Projections" | #define PACKAGE_TARNAME "proj" | #define PACKAGE_VERSION "4.7.0" | #define PACKAGE_STRING "PROJ.4 Projections 4.7.0" | #define PACKAGE_BUGREPORT "warmerdam AT pobox DOT com" | #define PACKAGE "proj" | #define VERSION "4.7.0" | /* end confdefs.h. */ | #include configure:4771: result: gcc -E configure:4800: gcc -E conftest.c configure:4806: $? =3D 0 configure:4837: gcc -E conftest.c conftest.c:10:28: error: ac_nonexistent.h: No such file or directory configure:4843: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "PROJ.4 Projections" | #define PACKAGE_TARNAME "proj" | #define PACKAGE_VERSION "4.7.0" | #define PACKAGE_STRING "PROJ.4 Projections 4.7.0" | #define PACKAGE_BUGREPORT "warmerdam AT pobox DOT com" | #define PACKAGE "proj" | #define VERSION "4.7.0" | /* end confdefs.h. */ | #include configure:4881: checking for ANSI C header files configure:4911: gcc -c -g -O2 conftest.c >&5 configure:4917: $? =3D 0 configure:5045: result: yes configure:5069: checking for sys/types.h configure:5090: gcc -c -g -O2 conftest.c >&5 configure:5096: $? =3D 0 configure:5112: result: yes configure:5069: checking for sys/stat.h configure:5090: gcc -c -g -O2 conftest.c >&5 configure:5096: $? =3D 0 configure:5112: result: yes configure:5069: checking for stdlib.h configure:5090: gcc -c -g -O2 conftest.c >&5 configure:5096: $? =3D 0 configure:5112: result: yes configure:5069: checking for string.h configure:5090: gcc -c -g -O2 conftest.c >&5 configure:5096: $? =3D 0 configure:5112: result: yes configure:5069: checking for memory.h configure:5090: gcc -c -g -O2 conftest.c >&5 configure:5096: $? =3D 0 configure:5112: result: yes configure:5069: checking for strings.h configure:5090: gcc -c -g -O2 conftest.c >&5 configure:5096: $? =3D 0 configure:5112: result: yes configure:5069: checking for inttypes.h configure:5090: gcc -c -g -O2 conftest.c >&5 configure:5096: $? =3D 0 configure:5112: result: yes configure:5069: checking for stdint.h configure:5090: gcc -c -g -O2 conftest.c >&5 configure:5096: $? =3D 0 configure:5112: result: yes configure:5069: checking for unistd.h configure:5090: gcc -c -g -O2 conftest.c >&5 configure:5096: $? =3D 0 configure:5112: result: yes configure:5139: checking dlfcn.h usability configure:5156: gcc -c -g -O2 conftest.c >&5 configure:5162: $? =3D 0 configure:5176: result: yes configure:5180: checking dlfcn.h presence configure:5195: gcc -E conftest.c configure:5201: $? =3D 0 configure:5215: result: yes configure:5248: checking for dlfcn.h configure:5256: result: yes configure:5283: checking for i686-pc-mingw32-g++ configure:5313: result: no configure:5283: checking for i686-pc-mingw32-c++ configure:5313: result: no configure:5283: checking for i686-pc-mingw32-gpp configure:5313: result: no configure:5283: checking for i686-pc-mingw32-aCC configure:5313: result: no configure:5283: checking for i686-pc-mingw32-CC configure:5313: result: no configure:5283: checking for i686-pc-mingw32-cxx configure:5313: result: no configure:5283: checking for i686-pc-mingw32-cc++ configure:5313: result: no configure:5283: checking for i686-pc-mingw32-cl.exe configure:5313: result: no configure:5283: checking for i686-pc-mingw32-FCC configure:5313: result: no configure:5283: checking for i686-pc-mingw32-KCC configure:5313: result: no configure:5283: checking for i686-pc-mingw32-RCC configure:5313: result: no configure:5283: checking for i686-pc-mingw32-xlC_r configure:5313: result: no configure:5283: checking for i686-pc-mingw32-xlC configure:5313: result: no configure:5327: checking for g++ configure:5343: found /usr/bin/g++ configure:5354: result: g++ configure:5385: checking for C++ compiler version configure:5392: g++ --version >&5 g++ (GCC) 4.3.4 20090804 (release) 1 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:5395: $? =3D 0 configure:5402: g++ -v >&5 Using built-in specs. Target: i686-pc-cygwin Configured with: /gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4= .3.4/configure --srcdir=3D/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/= src/gcc-4.3.4 --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sb= indir=3D/usr/sbin --libexecdir=3D/usr/lib --datadir=3D/usr/share --localsta= tedir=3D/var --sysconfdir=3D/etc --infodir=3D/usr/share/info --mandir=3D/us= r/share/man --datadir=3D/usr/share --infodir=3D/usr/share/info --mandir=3D/= usr/share/man -v --with-gmp=3D/usr --with-mpfr=3D/usr --enable-bootstrap --= enable-version-specific-runtime-libs --with-slibdir=3D/usr/bin --libexecdir= =3D/usr/lib --enable-static --enable-shared --enable-shared-libgcc --disabl= e-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exc= eptions --enable-languages=3Dada,c,c++,fortran,java,objc,obj-c++ --disable-= symvers --enable-libjava --program-suffix=3D-4 --enable-libgomp --enable-li= bssp --enable-libada --enable-threads=3Dposix --with-arch=3Di686 --with-tun= e=3Dgeneric --enable-libgcj-sublibs CC=3Dgcc-4 CXX=3Dg++-4 CC_FOR_TARGET=3D= gcc-4 CXX_FOR_TARGET=3Dg++-4 GNATMAKE_FOR_TARGET=3Dgnatmake GNATBIND_FOR_TA= RGET=3Dgnatbind AS=3D/opt/gcc-tools/bin/as.exe AS_FOR_TARGET=3D/opt/gcc-too= ls/bin/as.exe LD=3D/opt/gcc-tools/bin/ld.exe LD_FOR_TARGET=3D/opt/gcc-tools= /bin/ld.exe --with-ecj-jar=3D/usr/share/java/ecj.jar Thread model: posix gcc version 4.3.4 20090804 (release) 1 (GCC)=20 configure:5405: $? =3D 0 configure:5412: g++ -V >&5 g++: '-V' option must have argument configure:5415: $? =3D 1 configure:5418: checking whether we are using the GNU C++ compiler configure:5447: g++ -c conftest.cpp >&5 configure:5453: $? =3D 0 configure:5470: result: yes configure:5475: checking whether g++ accepts -g configure:5505: g++ -c -g conftest.cpp >&5 configure:5511: $? =3D 0 configure:5610: result: yes configure:5635: checking dependency style of g++ configure:5726: result: gcc3 configure:5751: checking how to run the C++ preprocessor configure:5787: g++ -E conftest.cpp configure:5793: $? =3D 0 configure:5824: g++ -E conftest.cpp conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory configure:5830: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "PROJ.4 Projections" | #define PACKAGE_TARNAME "proj" | #define PACKAGE_VERSION "4.7.0" | #define PACKAGE_STRING "PROJ.4 Projections 4.7.0" | #define PACKAGE_BUGREPORT "warmerdam AT pobox DOT com" | #define PACKAGE "proj" | #define VERSION "4.7.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include configure:5863: result: g++ -E configure:5892: g++ -E conftest.cpp configure:5898: $? =3D 0 configure:5929: g++ -E conftest.cpp conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory configure:5935: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "PROJ.4 Projections" | #define PACKAGE_TARNAME "proj" | #define PACKAGE_VERSION "4.7.0" | #define PACKAGE_STRING "PROJ.4 Projections 4.7.0" | #define PACKAGE_BUGREPORT "warmerdam AT pobox DOT com" | #define PACKAGE "proj" | #define VERSION "4.7.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include configure:5984: checking for i686-pc-mingw32-g77 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-xlf configure:6014: result: no configure:5984: checking for i686-pc-mingw32-f77 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-frt configure:6014: result: no configure:5984: checking for i686-pc-mingw32-pgf77 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-cf77 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-fort77 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-fl32 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-af77 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-xlf90 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-f90 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-pgf90 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-pghpf configure:6014: result: no configure:5984: checking for i686-pc-mingw32-epcf90 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-gfortran configure:6014: result: no configure:5984: checking for i686-pc-mingw32-g95 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-xlf95 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-f95 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-fort configure:6014: result: no configure:5984: checking for i686-pc-mingw32-ifort configure:6014: result: no configure:5984: checking for i686-pc-mingw32-ifc configure:6014: result: no configure:5984: checking for i686-pc-mingw32-efc configure:6014: result: no configure:5984: checking for i686-pc-mingw32-pgf95 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-lf95 configure:6014: result: no configure:5984: checking for i686-pc-mingw32-ftn configure:6014: result: no configure:6028: checking for g77 configure:6044: found /usr/bin/g77 configure:6055: result: g77 configure:6085: checking for Fortran 77 compiler version configure:6092: g77 --version >&5 GNU Fortran (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) Copyright (C) 2004 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING or type the command `info -f g77 Copying'. configure:6095: $? =3D 0 configure:6102: g77 -v >&5 Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/config= ure --verbose --program-suffix=3D-3 --prefix=3D/usr --exec-prefix=3D/usr --= sysconfdir=3D/etc --libdir=3D/usr/lib --libexecdir=3D/usr/lib --mandir=3D/u= sr/share/man --infodir=3D/usr/share/info --enable-languages=3Dc,ada,c++,d,f= 77,pascal,java,objc --enable-nls --without-included-gettext --enable-versio= n-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --wi= th-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads= =3Dposix --enable-java-gc=3Dboehm --disable-win32-registry --enable-sjlj-ex= ceptions --enable-hash-synchronization --enable-libstdcxx-debug Thread model: posix gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) configure:6105: $? =3D 0 configure:6112: g77 -V >&5 g77: `-V' option must have argument configure:6115: $? =3D 1 configure:6123: checking whether we are using the GNU Fortran 77 compiler configure:6142: g77 -c conftest.F >&5 configure:6148: $? =3D 0 configure:6165: result: yes configure:6171: checking whether g77 accepts -g configure:6188: g77 -c -g conftest.f >&5 configure:6194: $? =3D 0 configure:6210: result: yes configure:6240: checking the maximum length of command line arguments configure:6352: result: 8192 configure:6364: checking command to parse nm output from gcc object configure:6469: gcc -c -g -O2 conftest.c >&5 configure:6472: $? =3D 0 configure:6476: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIR= STW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:6479: $? =3D 0 cannot find nm_test_var in conftest.nm configure:6469: gcc -c -g -O2 conftest.c >&5 configure:6472: $? =3D 0 configure:6476: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIR= STW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' \> conftest.nm configure:6479: $? =3D 0 configure:6531: gcc -o conftest.exe -g -O2 conftest.c conftstm.o >&5 configure:6534: $? =3D 0 configure:6572: result: ok configure:6576: checking for objdir configure:6591: result: .libs configure:6643: checking for i686-pc-mingw32-ar configure:6673: result: no configure:6683: checking for ar configure:6699: found /usr/bin/ar configure:6710: result: ar configure:6739: checking for i686-pc-mingw32-ranlib configure:6769: result: no configure:6779: checking for ranlib configure:6795: found /usr/bin/ranlib configure:6806: result: ranlib configure:6835: checking for i686-pc-mingw32-strip configure:6862: result: strip configure:7188: checking if gcc supports -fno-rtti -fno-exceptions configure:7206: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but n= ot for C configure:7210: $? =3D 0 configure:7223: result: no configure:7238: checking for gcc option to produce PIC configure:7470: result: -DDLL_EXPORT configure:7478: checking if gcc PIC flag -DDLL_EXPORT works configure:7496: gcc -c -g -O2 -DDLL_EXPORT -DPIC conftest.c >&5 configure:7500: $? =3D 0 configure:7513: result: yes configure:7541: checking if gcc static flag -static works configure:7569: result: no configure:7579: checking if gcc supports -c -o file.o configure:7600: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:7604: $? =3D 0 configure:7626: result: yes configure:7652: checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld= .exe) supports shared libraries configure:8633: result: yes configure:8654: checking whether -lc should be explicitly linked in configure:8659: gcc -c -g -O2 conftest.c >&5 configure:8662: $? =3D 0 configure:8677: gcc -shared conftest.o -v -o ./conftest -Wl,--enable-auto-= image-base -Xlinker --out-implib -Xlinker conftest 2\>\&1 \| grep -lc \>/= dev/null 2\>\&1 configure:8680: $? =3D 1 configure:8692: result: yes configure:8700: checking dynamic linker characteristics configure:9314: result: Win32 ld.exe configure:9323: checking how to hardcode library paths into programs configure:9348: result: immediate configure:9362: checking whether stripping libraries is possible configure:9367: result: yes configure:10169: checking if libtool supports shared libraries configure:10171: result: yes configure:10174: checking whether to build shared libraries configure:10195: result: yes configure:10198: checking whether to build static libraries configure:10202: result: yes configure:10295: creating libtool configure:10883: checking for ld used by g++ configure:10950: result: /usr/i686-pc-cygwin/bin/ld.exe configure:10959: checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is= GNU ld configure:10974: result: yes configure:11025: checking whether the g++ linker (/usr/i686-pc-cygwin/bin/l= d.exe) supports shared libraries configure:11999: result: yes configure:12017: g++ -c -g -O2 conftest.cpp >&5 configure:12020: $? =3D 0 configure:12172: checking for g++ option to produce PIC configure:12456: result: -DDLL_EXPORT configure:12464: checking if g++ PIC flag -DDLL_EXPORT works configure:12482: g++ -c -g -O2 -DDLL_EXPORT -DPIC conftest.cpp >&5 configure:12486: $? =3D 0 configure:12499: result: yes configure:12527: checking if g++ static flag -static works configure:12555: result: no configure:12565: checking if g++ supports -c -o file.o configure:12586: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 configure:12590: $? =3D 0 configure:12612: result: yes configure:12638: checking whether the g++ linker (/usr/i686-pc-cygwin/bin/l= d.exe) supports shared libraries configure:12666: result: yes configure:12733: checking dynamic linker characteristics configure:13295: result: Win32 ld.exe configure:13304: checking how to hardcode library paths into programs configure:13329: result: immediate configure:13863: checking if libtool supports shared libraries configure:13865: result: yes configure:13868: checking whether to build shared libraries configure:13888: result: yes configure:13891: checking whether to build static libraries configure:13895: result: yes configure:13905: checking for g77 option to produce PIC configure:14137: result: -DDLL_EXPORT configure:14145: checking if g77 PIC flag -DDLL_EXPORT works configure:14163: g77 -c -g -O2 -DDLL_EXPORT conftest.f >&5 configure:14167: $? =3D 0 configure:14180: result: yes configure:14208: checking if g77 static flag -static works configure:14236: result: yes configure:14246: checking if g77 supports -c -o file.o configure:14267: g77 -c -g -O2 -o out/conftest2.o conftest.f >&5 configure:14271: $? =3D 0 configure:14293: result: yes configure:14319: checking whether the g77 linker (/usr/i686-pc-cygwin/bin/l= d.exe) supports shared libraries configure:15280: result: yes configure:15347: checking dynamic linker characteristics configure:15909: result: Win32 ld.exe configure:15918: checking how to hardcode library paths into programs configure:15943: result: immediate configure:19528: checking for exp in -lm configure:19563: gcc -o conftest.exe -g -O2 conftest.c -lm >&5 conftest.c:28: warning: conflicting types for built-in function 'exp' configure:19569: $? =3D 0 configure:19587: result: yes configure:19599: checking for ANSI C header files configure:19763: result: yes configure:19837: checking jni.h usability configure:19854: gcc -c -g -O2 conftest.c >&5 In file included from /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/jni.h:52, from conftest.c:56: /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/jni_md.h:30:31: error: gcj/libgcj= -config.h: No such file or directory configure:19860: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "PROJ.4 Projections" | #define PACKAGE_TARNAME "proj" | #define PACKAGE_VERSION "4.7.0" | #define PACKAGE_STRING "PROJ.4 Projections 4.7.0" | #define PACKAGE_BUGREPORT "warmerdam AT pobox DOT com" | #define PACKAGE "proj" | #define VERSION "4.7.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LIBM 1 | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:19874: result: no configure:19878: checking jni.h presence configure:19893: gcc -E conftest.c In file included from /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/jni.h:52, from conftest.c:23: /usr/lib/gcc/i686-pc-cygwin/4.3.4/include/jni_md.h:30:31: error: gcj/libgcj= -config.h: No such file or directory configure:19899: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "PROJ.4 Projections" | #define PACKAGE_TARNAME "proj" | #define PACKAGE_VERSION "4.7.0" | #define PACKAGE_STRING "PROJ.4 Projections 4.7.0" | #define PACKAGE_BUGREPORT "warmerdam AT pobox DOT com" | #define PACKAGE "proj" | #define VERSION "4.7.0" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define HAVE_LIBM 1 | #define STDC_HEADERS 1 | /* end confdefs.h. */ | #include configure:19913: result: no configure:19946: checking for jni.h configure:19954: result: no configure:19968: checking whether to enable Java/JNI support configure:19972: result: disabled configure:20003: checking for mutexes configure:20007: result: enabled, pthread configure:20148: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by PROJ.4 Projections config.status 4.7.0, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES =3D=20 CONFIG_HEADERS =3D=20 CONFIG_LINKS =3D=20 CONFIG_COMMANDS =3D=20 $ ./config.status=20 on desktop2 config.status:675: creating Makefile config.status:675: creating src/Makefile config.status:675: creating man/Makefile config.status:675: creating man/man1/Makefile config.status:675: creating man/man3/Makefile config.status:675: creating nad/Makefile config.status:675: creating jniwrap/Makefile config.status:675: creating jniwrap/org/Makefile config.status:675: creating jniwrap/org/proj4/Makefile config.status:675: creating src/proj_config.h config.status:950: executing depfiles commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=3Di686-pc-cygwin ac_cv_c_compiler_gnu=3Dyes ac_cv_cxx_compiler_gnu=3Dyes ac_cv_env_CCC_set=3D ac_cv_env_CCC_value=3D ac_cv_env_CC_set=3D ac_cv_env_CC_value=3D ac_cv_env_CFLAGS_set=3D ac_cv_env_CFLAGS_value=3D ac_cv_env_CPPFLAGS_set=3D ac_cv_env_CPPFLAGS_value=3D ac_cv_env_CPP_set=3D ac_cv_env_CPP_value=3D ac_cv_env_CXXCPP_set=3D ac_cv_env_CXXCPP_value=3D ac_cv_env_CXXFLAGS_set=3D ac_cv_env_CXXFLAGS_value=3D ac_cv_env_CXX_set=3D ac_cv_env_CXX_value=3D ac_cv_env_F77_set=3D ac_cv_env_F77_value=3D ac_cv_env_FFLAGS_set=3D ac_cv_env_FFLAGS_value=3D ac_cv_env_LDFLAGS_set=3D ac_cv_env_LDFLAGS_value=3D ac_cv_env_LIBS_set=3D ac_cv_env_LIBS_value=3D ac_cv_env_build_alias_set=3Dset ac_cv_env_build_alias_value=3Di686-pc-cygwin ac_cv_env_host_alias_set=3Dset ac_cv_env_host_alias_value=3Di686-pc-mingw32 ac_cv_env_target_alias_set=3D ac_cv_env_target_alias_value=3D ac_cv_exeext=3D.exe ac_cv_f77_compiler_gnu=3Dyes ac_cv_header_dlfcn_h=3Dyes ac_cv_header_inttypes_h=3Dyes ac_cv_header_jni_h=3Dno ac_cv_header_memory_h=3Dyes ac_cv_header_stdc=3Dyes ac_cv_header_stdint_h=3Dyes ac_cv_header_stdlib_h=3Dyes ac_cv_header_string_h=3Dyes ac_cv_header_strings_h=3Dyes ac_cv_header_sys_stat_h=3Dyes ac_cv_header_sys_types_h=3Dyes ac_cv_header_unistd_h=3Dyes ac_cv_host=3Di686-pc-mingw32 ac_cv_lib_m_exp=3Dyes ac_cv_objext=3Do ac_cv_path_EGREP=3D'/usr/bin/grep -E' ac_cv_path_GREP=3D/usr/bin/grep ac_cv_path_install=3D'/usr/bin/install -c' ac_cv_path_mkdir=3D/usr/bin/mkdir ac_cv_prog_AWK=3Dgawk ac_cv_prog_CPP=3D'gcc -E' ac_cv_prog_CXXCPP=3D'g++ -E' ac_cv_prog_STRIP=3Dstrip ac_cv_prog_ac_ct_AR=3Dar ac_cv_prog_ac_ct_CC=3Dgcc ac_cv_prog_ac_ct_CXX=3Dg++ ac_cv_prog_ac_ct_F77=3Dg77 ac_cv_prog_ac_ct_RANLIB=3Dranlib ac_cv_prog_ac_ct_STRIP=3Dstrip ac_cv_prog_cc_c89=3D ac_cv_prog_cc_g=3Dyes ac_cv_prog_cxx_g=3Dyes ac_cv_prog_f77_g=3Dyes ac_cv_prog_make_make_set=3Dyes am_cv_CC_dependencies_compiler_type=3Dgcc3 am_cv_CXX_dependencies_compiler_type=3Dgcc3 lt_cv_deplibs_check_method=3D'file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd=3Dfunc_win32_libid lt_cv_file_magic_test_file=3D lt_cv_ld_reload_flag=3D-r lt_cv_objdir=3D.libs lt_cv_path_LD=3D/usr/i686-pc-cygwin/bin/ld.exe lt_cv_path_LDCXX=3D/usr/i686-pc-cygwin/bin/ld.exe lt_cv_path_NM=3Dnm lt_cv_path_SED=3D/usr/bin/sed lt_cv_prog_compiler_c_o=3Dyes lt_cv_prog_compiler_c_o_CXX=3Dyes lt_cv_prog_compiler_c_o_F77=3Dyes lt_cv_prog_compiler_rtti_exceptions=3Dno lt_cv_prog_gnu_ld=3Dyes lt_cv_prog_gnu_ldcxx=3Dyes lt_cv_sys_global_symbol_pipe=3D'sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDG= IRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\''' lt_cv_sys_global_symbol_to_c_name_address=3D'sed -n -e '\''s/^: \([^ ]*\) $= / {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ = {"\2", (lt_ptr) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl=3D'sed -n -e '\''s/^. .* \(.*\)$/extern in= t \1;/p'\''' lt_cv_sys_max_cmd_len=3D8192 lt_lt_cv_prog_compiler_c_o=3D'"yes"' lt_lt_cv_prog_compiler_c_o_CXX=3D'"yes"' lt_lt_cv_prog_compiler_c_o_F77=3D'"yes"' lt_lt_cv_sys_global_symbol_pipe=3D'"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][= ABCDGIRSTW]*\\)[ ][ ]*_\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 _\\2 \\2/p'\''"' lt_lt_cv_sys_global_symbol_to_c_name_address=3D'"sed -n -e '\''s/^: \\([^ ]= *\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\)= \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"' lt_lt_cv_sys_global_symbol_to_cdecl=3D'"sed -n -e '\''s/^. .* \\(.*\\)\$/ex= tern int \\1;/p'\''"' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL=3D'${SHELL} /home/Rob/comp/proj-4.7.0/missing --run aclocal-1.10' AMDEPBACKSLASH=3D'\' AMDEP_FALSE=3D'#' AMDEP_TRUE=3D'' AMTAR=3D'${SHELL} /home/Rob/comp/proj-4.7.0/missing --run tar' AR=3D'ar' AUTOCONF=3D'${SHELL} /home/Rob/comp/proj-4.7.0/missing --run autoconf' AUTOHEADER=3D'${SHELL} /home/Rob/comp/proj-4.7.0/missing --run autoheader' AUTOMAKE=3D'${SHELL} /home/Rob/comp/proj-4.7.0/missing --run automake-1.10' AWK=3D'gawk' CC=3D'gcc' CCDEPMODE=3D'depmode=3Dgcc3' CFLAGS=3D'-g -O2' CPP=3D'gcc -E' CPPFLAGS=3D'' CXX=3D'g++' CXXCPP=3D'g++ -E' CXXDEPMODE=3D'depmode=3Dgcc3' CXXFLAGS=3D'-g -O2' CYGPATH_W=3D'cygpath -w' DEFS=3D'-DHAVE_CONFIG_H' DEPDIR=3D'.deps' ECHO=3D'echo' ECHO_C=3D'' ECHO_N=3D'-n' ECHO_T=3D'' EGREP=3D'/usr/bin/grep -E' EXEEXT=3D'.exe' F77=3D'g77' FFLAGS=3D'-g -O2' GREP=3D'/usr/bin/grep' INSTALL_DATA=3D'${INSTALL} -m 644' INSTALL_PROGRAM=3D'${INSTALL}' INSTALL_SCRIPT=3D'${INSTALL}' INSTALL_STRIP_PROGRAM=3D'$(install_sh) -c -s' JNI_INCLUDE=3D'' LDFLAGS=3D'' LIBOBJS=3D'' LIBS=3D'-lm ' LIBTOOL=3D'$(SHELL) $(top_builddir)/libtool' LN_S=3D'ln -s' LTLIBOBJS=3D'' MAINT=3D'#' MAINTAINER_MODE_FALSE=3D'' MAINTAINER_MODE_TRUE=3D'#' MAKEINFO=3D'${SHELL} /home/Rob/comp/proj-4.7.0/missing --run makeinfo' MUTEX_SETTING=3D'pthread' OBJEXT=3D'o' PACKAGE=3D'proj' PACKAGE_BUGREPORT=3D'warmerdam AT pobox DOT com' PACKAGE_NAME=3D'PROJ.4 Projections' PACKAGE_STRING=3D'PROJ.4 Projections 4.7.0' PACKAGE_TARNAME=3D'proj' PACKAGE_VERSION=3D'4.7.0' PATH_SEPARATOR=3D':' RANLIB=3D'ranlib' SED=3D'/usr/bin/sed' SET_MAKE=3D'' SHELL=3D'/bin/sh' STRIP=3D'strip' VERSION=3D'4.7.0' ac_ct_CC=3D'gcc' ac_ct_CXX=3D'g++' ac_ct_F77=3D'g77' am__fastdepCC_FALSE=3D'#' am__fastdepCC_TRUE=3D'' am__fastdepCXX_FALSE=3D'#' am__fastdepCXX_TRUE=3D'' am__include=3D'include' am__isrc=3D'' am__leading_dot=3D'.' am__quote=3D'' am__tar=3D'${AMTAR} chof - "$$tardir"' am__untar=3D'${AMTAR} xf -' bindir=3D'${exec_prefix}/bin' build=3D'i686-pc-cygwin' build_alias=3D'i686-pc-cygwin' build_cpu=3D'i686' build_os=3D'cygwin' build_vendor=3D'pc' datadir=3D'${datarootdir}' datarootdir=3D'${prefix}/share' docdir=3D'${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir=3D'${docdir}' exec_prefix=3D'${prefix}' host=3D'i686-pc-mingw32' host_alias=3D'i686-pc-mingw32' host_cpu=3D'i686' host_os=3D'mingw32' host_vendor=3D'pc' htmldir=3D'${docdir}' includedir=3D'${prefix}/include' infodir=3D'${datarootdir}/info' install_sh=3D'$(SHELL) /home/Rob/comp/proj-4.7.0/install-sh' libdir=3D'${exec_prefix}/lib' libexecdir=3D'${exec_prefix}/libexec' localedir=3D'${datarootdir}/locale' localstatedir=3D'${prefix}/var' mandir=3D'${datarootdir}/man' mkdir_p=3D'/usr/bin/mkdir -p' oldincludedir=3D'/usr/include' pdfdir=3D'${docdir}' prefix=3D'/usr/local' program_transform_name=3D's,x,x,' psdir=3D'${docdir}' sbindir=3D'${exec_prefix}/sbin' sharedstatedir=3D'${prefix}/com' sysconfdir=3D'${prefix}/etc' target_alias=3D'' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "PROJ.4 Projections" #define PACKAGE_TARNAME "proj" #define PACKAGE_VERSION "4.7.0" #define PACKAGE_STRING "PROJ.4 Projections 4.7.0" #define PACKAGE_BUGREPORT "warmerdam AT pobox DOT com" #define PACKAGE "proj" #define VERSION "4.7.0" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define HAVE_LIBM 1 #define STDC_HEADERS 1 configure: exit 0 ------=_NextPart_000_00AB_01CB368A.989C06A0 Content-Type: text/plain; charset=us-ascii -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple ------=_NextPart_000_00AB_01CB368A.989C06A0--