This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Compiling with gcc under cygwin


Hi all,   (soory if this mail looks long!)

I have a problem (should say 2)while compiling with gcc 2.95.2 under cygwin 
1.1.8


*/  In that case my main doesn't contain anything except a variable 
declaration
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

This pb has been dealt with a few days ago : so as told, i run "env"
but did not find LIBRARY_PATH


here is the result of "env":
PROMPT=$p$g
PWD=/home/apn
COMSPEC=C:\WINDOWS\COMMAND.COM
ARMINC=C:\ARM250\INCLUDE
DA_SDK=C:\da_sdk
!C:=C:\cygwin\bin
CMDLINE=bash --login -i
HOSTNAME=RD
WINDIR=C:\WINDOWS
WINBOOTDIR=C:\WINDOWS
PS1=\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$
BLASTER=A220 I5 D1 T4
USER=apn
MACHTYPE=i686-pc-cygwin
OLDPWD=/usr/bin
TEMP=/c/WINDOWS/TEMP
ARMLIB=C:\ARM250\LIB
SHLVL=1
MAKE_MODE=unix
!Z:=Z:\APn\Docs\Perso
SHELL=/bin/sh
HOSTTYPE=i686
OSTYPE=cygwin
TERM=cygwin
HOME=/home/apn
PATH=/tools/H-i686-pc-cygwin/bin:/usr/local/bin:/usr/bin:/bin:/c/PERL/BIN/:/c/ARM250/BIN:/c/WINDOWS:/c/WINDOWS/COMMAND:/c/PROGRA~1/BORLAND/DELPHI5/BIN:/c/PROGRA~1/BORLAND/DELPHI5/PROJECTS/BPL
_=/usr/bin/env



*/ In that case I try to print anything using stdio.h
(same command line)
/home/apn/test/main.c:1¨: stdio.h : No such file or directory



Could anyone help me??
Thanks in advance

_________________________________________________________________________
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]