Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <006b01c0cc40$2ca2e4a0$0200a8c0@lifelesswks>
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: "Antoine PERNIN" <a_pernin@hotmail.com>, <cygwin@cygwin.com>
References: <F105cab7NMT6658EMJm0000a7d1@hotmail.com>
Subject: Re: Compiling with gcc under cygwin (2) 
Date: Tue, 24 Apr 2001 07:55:54 +1000
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.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
X-OriginalArrivalTime: 23 Apr 2001 21:47:49.0878 (UTC) FILETIME=[0A92E960:01C0CC3F]


----- Original Message -----
From: "Antoine PERNIN" <a_pernin@hotmail.com>
To: <cygwin@cygwin.com>
Sent: Monday, April 23, 2001 3:28 PM
Subject: Compiling with gcc under cygwin (2)


> Hi,
>
> Again with my problems :
> I solved the "stdio.h" : file or directory doesn't exist
> by copying the whole library into the first directory mentionned by
> gcc -print-search-dirs (looking at the library line of course)
> now gcc finds the library

What library did you copy in? newlib? glibc? what target library are you
building for?

> But i still have the crt0.o problem
> This file is in /usr/lib and in /lib

Of course, but you're not building for cygwin.

> note that the mount command shows that c:\cygwin\lib is mounted by the
sytem
> as /usr/lib and not c:\cygwin\usr\lib as i expected
> Whatever, the probelm is still there :
>
> $arm-elf-gcc /home/apn/test/main.c -o test

This is a risc elf-format cross compiler. It's probably not installed
properly.

> /tools/H-i686-pc-cygwin/arm-elf/bin-ld: cannot open crt0.o: No such
file or
> directory
> collect2: ld returned 1 exit status
>
> Thanks Mark for your advice but even if i am really a specialist of
unix
> world, i'd like to solve this problem without installing again cygwin
(but
> if i must, i'll do it)

You don't need to install cygwin AFAICT - there may be nothing wrong
with your cygwin. There is almost certainly something wrong in your
cross-compile setup. I suggest you talk to the nice folk at gcc.gnu.org.

We're happy to help you get the cygwin-target gcc running of course, but
I'm not clear what your desired binary target is.

Rob


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

