public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Compiling with gcc under cygwin (2)
@ 2001-04-23  8:28 Antoine PERNIN
  2001-04-23 10:48 ` Christopher Faylor
  2001-04-23 14:55 ` Robert Collins
  0 siblings, 2 replies; 3+ messages in thread
From: Antoine PERNIN @ 2001-04-23  8:28 UTC (permalink / raw)
  To: cygwin

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

But i still have the crt0.o problem
This file is in /usr/lib and in /lib
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
/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)

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com .


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compiling with gcc under cygwin (2)
  2001-04-23  8:28 Compiling with gcc under cygwin (2) Antoine PERNIN
@ 2001-04-23 10:48 ` Christopher Faylor
  2001-04-23 14:55 ` Robert Collins
  1 sibling, 0 replies; 3+ messages in thread
From: Christopher Faylor @ 2001-04-23 10:48 UTC (permalink / raw)
  To: cygwin

You have acquired an arm-elf-gcc from somewhere.  Maybe you've built
it yourself.

However, this is not a cygwin issue.  It is an arm-elf-gcc issue.
There is something wrong with your arm-elf-gcc installation.  This
is not something that is specific to cygwin and reinstalling cygwin
is not likely to rectify anything.

cgf

On Mon, Apr 23, 2001 at 03:28:48PM +0000, Antoine PERNIN wrote:
>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
>
>But i still have the crt0.o problem
>This file is in /usr/lib and in /lib
>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
>/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)

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Compiling with gcc under cygwin (2)
  2001-04-23  8:28 Compiling with gcc under cygwin (2) Antoine PERNIN
  2001-04-23 10:48 ` Christopher Faylor
@ 2001-04-23 14:55 ` Robert Collins
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Collins @ 2001-04-23 14:55 UTC (permalink / raw)
  To: Antoine PERNIN, cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-04-23 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-23  8:28 Compiling with gcc under cygwin (2) Antoine PERNIN
2001-04-23 10:48 ` Christopher Faylor
2001-04-23 14:55 ` Robert Collins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).