Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: "George Najarian" <najay@cox.net>
To: "David Mc Kenna" <mckennad@esatclear.ie>
Cc: "crossgcc@sourceware.cygnus.com" <crossgcc@sourceware.cygnus.com>,
   "cygwin@cygwin.com" <cygwin@cygwin.com>
Date: Mon, 21 Apr 2003 09:28:25 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Subject:  RE: Build problem for ARM on Cygwin
Message-Id: <20030421162822.ENMG3190.fed1mtao01.cox.net@najay-pc>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h3LGSdS16631

I had the same problem. It seems that they included support for mempcpy in
the newest version of cygwin, but the gcc build does not expect it. Here it
the fix I used (this has an ecos flavor to it):

ac_cv_func_mempcpy=no /src/gcc-3.2.2/configure --target=arm-elf --prefix=/gnutools --enable-languages=c,c++ \
  --with-gnu-as --with-gnu-ld --with-newlib --with-gxx-include-dir=/gnutools/arm-elf/include \
  -v 2>&1 | tee configure.out 
make -w all install 2>&1 | tee make.out 


Hope it works for you.

George Najarian
Najay Engineering

>Hi folks,
>This is a strange one and I hope someone can help me as it boggles the mind.
>Recently I upgraded ( complete removal and re-installation ) of my version of
>cygwin. I was having a few problems so I decided to get the latest updates.
>Prior to removing this version of cygwin I could configure and make gcc successfully
>for arm without a problem using the enclosed script, arm-elf. But when I changed
>my cygwin configuration I started getting the following errors when I tried
>to make it, I could configure a bootstrap gcc no problems.



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

