Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <06d401c19a67$f195f450$8d100aac@stpp.soft.net> From: "anitak" To: Subject: Re: Potential problems with Cygwin GCC and -mno-cygwin switch Date: Fri, 11 Jan 2002 11:49:36 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-OriginalArrivalTime: 11 Jan 2002 06:25:29.0140 (UTC) FILETIME=[C390AF40:01C19A68] Hi, By seeing these hot discussions of -mno-cygwin swich I started a canadian cross for building a mingw hosted SH targetted cross compiler on cygwin environment. I am stuck with the following problem. Will be very thankful if anybody guides me on this? Regards, Anita ----- Original Message ----- From: "anitak" To: Cc: Sent: Wednesday, January 09, 2002 5:22 PM Subject: libgcc1-test Error for building mingw hosted SH targetted cross compiler on cygwin > hi, > I am doing a canadian cross for building a mingw hosted SH targetted cross > compiler on cygwin environment. > I have built a cygwin to mingw and cygwin to SH cross compilers and using > that to build mingw > to SH cross compiler. > I am using > MinGW-1.1.tar.gz , mingw-runtime-1.2-1 source, w32api-1.2 source, cygwin-1.2 > binutils-2.11.2+patches > gcc-3.0.1patches, > newlib-1.9.0patches > > I have built binutils successfully. > For building a core compiler > i.e. make LANGUAGES="c, c++" all-gcc configured > with --build=i686-pc-cygwin --host=i386-pc-mingw and --target=sh-elf I get > the following error - > > Testing libgcc1. Ignore linker warning messages.^M > sh-elf-gcc -DCROSS_COMPILE -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-pro > totypes -Wmiss > ing-prototypes -isystem ./include libgcc1-test.o -o libgcc1-test \^M > -nostartfiles -nostdlib `sh-elf-gcc --print-libgcc-file-name`^M > make[1]: *** [libgcc1-test] Error 1^M > > I had commented USE_COLLECT2 in gcc/Makefile as suggested by Mumit Khan for > collect2 problem for mingw. > > What steps I need to do further? > > Many thanks for any help > > Regards, > Anita Kulkarni > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/