X-Spam-Check-By: sourceware.org
Date: Thu, 29 Jun 2006 11:00:06 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: gmp and libiconv as mingw variant libraries under cygwin?
Message-ID: <20060629150006.GC19726@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <5460e3330606282304y1875d36avdd987073926090f7@mail.gmail.com> <5460e3330606290027x1e972086vcc251b313d2b13f4@mail.gmail.com> <5460e3330606290408x6e1c8ae1m2f96693290185257@mail.gmail.com> <5460e3330606290457u4d702a64i44e866515ee284dc@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5460e3330606290457u4d702a64i44e866515ee284dc@mail.gmail.com>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Thu, Jun 29, 2006 at 01:57:04PM +0200, Christian Joensson wrote:
>sigh, definitely quitting now...
>
>CC='gcc -mno-cygwin' CXX='g++ -mno-cygwin' ../src/configure
>--build=i686-pc-cygwin --host=i686-pc-mingw32
>--target=i686-pc-mingw32--prefix=/opt/mingw
>
>still, again,
>
>/bin/sh ./libtool --mode=link gcc -mno-cygwin -W -Wall
>-Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2   -o libbfd.la
>-rpath /opt/mingw/lib -release 060628  archive.lo archures.lo bfd.lo
>bfdio.lo bfdwin.lo cache.lo coffgen.lo corefile.lo format.lo init.lo
>libbfd.lo opncls.lo reloc.lo section.lo syms.lo targets.lo hash.lo
>linker.lo srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo
>merge.lo dwarf2.lo simple.lo archive64.lo `cat ofiles`
>cygpath: can't convert empty path
>mkdir .libs
>libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32 
>shared
>libraries
>lib /OUT:.libs/libbfd.lib  archive.o archures.o bfd.o bfdio.o bfdwin.o
>cache.o coffgen.o corefile.o format.o init.o libbfd.o opncls.o reloc.o
>section.o syms.o targets.o hash.o linker.o srec.o binary.o tekhex.o
>ihex.o stabs.o stab-syms.o merge.o dwarf2.o simple.o archive64.o
>pe-i386.o peigen.o cofflink.o pei-i386.o elf32-i386.o elf-vxworks.o
>elf32.o elf.o elflink.o elf-strtab.o elf-eh-frame.o dwarf1.o
>elf32-gen.o cpu-i386.o
>./libtool: line 4830: lib: command not found
>make[4]: *** [libbfd.la] Error 127

And, at this point, it is time to again tell you that you should be 1)
using mingw tools to accomplish what you want and 2) asking your
questions in the mingw mailing list.  http://mingw.org/

If you have further questions about how to use configure for gcc, then
I'd like to suggest the gcc-help mailing list.

cgf

--
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/

