Cygwin was working fine.
THEN I installed another compiler, and the trouble
began. Cygwin has trouble finding the standard ".h"
files which are installed to d:\gcc\cygwin\usr\include
I'm pretty sure that the path needs repairing, but I
don't understand what cygwin does with the path.
I am running Window 95.
I see that the path shown in my environment ENV is
different than the path in my autoexec.bat There are
"cygwin\"s inserted which I don't understand.
I've read the faqs and still can't sort it out.
I'm fairly new to UNIX and GCC.
Here is where I see the error. (pasted from dos window
-------------------------------------------------------
C:\WINDOWS\DESKTOP>gcc gsabre.c
/cygdrive/c/WINDOWS/TEMP/ccw9FQEL.o(.text+0x70):gsabre.c:
undefined reference to
`randomize'
collect2: ld returned 1 exit status
C:\WINDOWS\DESKTOP>
My ENV says this is stored
--------------------------
C:\WINDOWS\DESKTOP>env
!C:=C:\WINDOWS\desktop
TMP=/cygdrive/c/WINDOWS/TEMP
TEMP=/cygdrive/c/WINDOWS/TEMP
PROMPT=$p$g
WINBOOTDIR=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
WINDIR=C:\WINDOWS
PATH=/usr/bin:/USR/LOCAL/BIN:/USR/INCLUDE:/cygdrive/c/WINDOWS/COMMAND:/cygdrive/
c/WINDOWS:/cygdrive/c/WINDOWS/SYSTEM:/cygdrive/d/UTILITY/CODING/VIM/VIM57:.:/cyg
drive/c:/cygdrive/c/PROGRA~1/BORLAND/DELPHI5/BIN:/cygdrive/c/PROGRA~1/BORLAND/VB
ROKER/BIN:/cygdrive/c/PROGRA~1/BORLAND/VBROKER/JRE/BIN:/cygdrive/c/PROGRA~1/BORL
AND/DELPHI5/PROJECTS/BPL
CLASSPATH=C:\PROGRA~1\BORLAND\VBROKER\lib\vbcpp.jar
CMDLINE=env
TERM=cygwin
AUTOEXEC.BAT looks like this
----------------------------
SET
PATH=D:\GCC\CYGWIN\BIN;D:\GCC\CYGWIN\USR\LOCAL\BIN;D:\GCC\CYGWIN\USR\INCLUDE;C:\WINDOWS\COMMAND;C:\WINDOWS;C:\WINDOWS\SYSTEM;D:\UTILITY\CODING\VIM\VIM57;
rem C:\WINDOWS\net start
doskey
SET
path=%PATH%;C:\;C:\PROGRA~1\BORLAND\DELPHI5\BIN;C:\PROGRA~1\BORLAND\VBROKER\BIN;C:\PROGRA~1\BORLAND\VBROKER\JRE\BIN;C:\PROGRA~1\BORLAND\DELPHI5\PROJECTS\BPL
SET
CLASSPATH=C:\PROGRA~1\BORLAND\VBROKER\lib\vbcpp.jar
Suggestions Solutions and Wisdom are welcome.
Thanks for your time folks.
Greg.
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple