From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15389 invoked by alias); 13 Feb 2008 20:21:01 -0000 Received: (qmail 15373 invoked by uid 22791); 13 Feb 2008 20:21:01 -0000 X-Spam-Check-By: sourceware.org Received: from ctb-mesg-2-3.saix.net (HELO ctb-mesg-2-3.saix.net) (196.25.240.83) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 13 Feb 2008 20:20:31 +0000 Received: from [192.168.0.8] (dsl-240-32-228.telkomadsl.co.za [41.240.32.228]) by ctb-mesg-2-3.saix.net (Postfix) with ESMTP id EDE115BD0 for ; Wed, 13 Feb 2008 22:20:27 +0200 (SAST) From: "Gerrit van Niekerk" To: gdb@sourceware.org Date: Wed, 13 Feb 2008 20:21:00 -0000 MIME-Version: 1.0 Subject: Re: Problem building cross-debugger Reply-to: gerritvn@gpvno.co.za,gpvno@telkomsa.net Message-ID: <47B36D2A.9899.D2705A4@gerritvn.gpvno.co.za> In-reply-to: <15461364.post@talk.nabble.com> References: <478E9F4D.24311.2EF0FE9@gerritvn.gpvno.co.za>, <15419409.post@talk.nabble.com>, <15461364.post@talk.nabble.com> X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00093.txt.bz2 On 13 Feb 2008 at 9:49, Michael Shatz wrote: > Finally found the problem. > > It's all about cygwin "textmode" mount huck. > When the build drive (or may be source, or both, in my case they were the > same) is mounted in the text mode the following command misbehaves: > /bin/sh ./libtool --tag=CC --mode=link i686-pc-cygwin-gcc -W -Wall > -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o libbfd.la > -rpath /usr/local/emb386/i686-pc-cygwin/i386-elf/lib -release `cat > libtool-soversion` 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 `cat > ofiles` > > Either 'libtool' or, more likely, 'sh' somehow ignores the tail of the > 'ofiles' file which happens to contain the cpu-i386.o > > When running from binary-mounted drive everything compiles as expected. Must admit: I don't know much about Cygwin - basically run the Cygwin Bash shell and enter the rquired commands which do not include mounting anything. What do I have to change to do a binary mount? -- Gerrit van Niekerk GP van Niekerk Ondernemings BK Roosstraat 211, Meyerspark, 0184, South Africa Tel: +27(12)8036501 Fax SA: 0866 413 555 Cell: +27(73)6891370 Fax Int'l: +1(206)2034139 Email: gerritvn@gpvno.co.za Web: http://www.gpvno.co.za