X-Spam-Check-By: sourceware.org Message-ID: <5460e3330606290408x6e1c8ae1m2f96693290185257@mail.gmail.com> Date: Thu, 29 Jun 2006 13:08:27 +0200 From: "Christian Joensson" To: cygwin AT cygwin DOT com Subject: Re: gmp and libiconv as mingw variant libraries under cygwin? In-Reply-To: <5460e3330606290027x1e972086vcc251b313d2b13f4@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5460e3330606282304y1875d36avdd987073926090f7 AT mail DOT gmail DOT com> <5460e3330606290027x1e972086vcc251b313d2b13f4 AT mail DOT gmail DOT com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 nah... using CC='gcc -mno-cygwin' CXX='g++ -mno-cygwin' ../src/configure \ --build=i686-pc-cygwin --target=i686-pc-mingw32 --prefix=/opt/mingw I get into this problem: gcc -mno-cygwin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../../src/libiberty/pex-one.c -o pex-one.o if [ x"" != x ]; then \ gcc -mno-cygwin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../../src/libiberty/pex-unix.c -o pic/pex-unix.o; \ else true; fi gcc -mno-cygwin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../../src/libiberty/pex-unix.c -o pex-unix.o ../../src/libiberty/pex-unix.c: In function `pex_wait': ../../src/libiberty/pex-unix.c:223: warning: implicit declaration of function `wait' ../../src/libiberty/pex-unix.c: At top level: ../../src/libiberty/pex-unix.c:355: warning: function declaration isn't a prototype ../../src/libiberty/pex-unix.c: In function `pex_unix_exec_child': ../../src/libiberty/pex-unix.c:374: warning: implicit declaration of function `fork' ../../src/libiberty/pex-unix.c:377: warning: implicit declaration of function `sleep' ../../src/libiberty/pex-unix.c:422: warning: passing arg 2 of `execvp' from incompatible pointer type ../../src/libiberty/pex-unix.c:427: warning: passing arg 2 of `execv' from incompatible pointer type ../../src/libiberty/pex-unix.c: In function `pex_unix_wait': ../../src/libiberty/pex-unix.c:478: warning: implicit declaration of function `kill' ../../src/libiberty/pex-unix.c: In function `pex_unix_pipe': ../../src/libiberty/pex-unix.c:496: warning: implicit declaration of function `pipe' ../../src/libiberty/pex-unix.c: In function `pex_unix_fdopenw': ../../src/libiberty/pex-unix.c:512: warning: implicit declaration of function `fcntl' ../../src/libiberty/pex-unix.c:512: error: `F_SETFD' undeclared (first use in this function) ../../src/libiberty/pex-unix.c:512: error: (Each undeclared identifier is reported only once ../../src/libiberty/pex-unix.c:512: error: for each function it appears in.) ../../src/libiberty/pex-unix.c:512: error: `FD_CLOEXEC' undeclared (first use in this function) make[2]: *** [pex-unix.o] Error 1 make[2]: Leaving directory `/usr/local/src/trunk/objdir-binutils.mingw/libiberty' make[1]: *** [all-libiberty] Error 2 make[1]: Leaving directory `/usr/local/src/trunk/objdir-binutils.mingw' make: *** [all] Error 2 so... I guess I'm outta luck... if you got any more suggestions.. pls let me know... otherwise, well, this was a play at least :) -- Cheers, /ChJ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/