Subject: Re: Newbie C questions
From: " Clark Sims " <[email-masked]>
To: [email-masked], "Michael Hirmke" <[email-masked]>
Date: Wed, 25 Aug 1999 04:32:29 -0700

--

On 24 Aug 1999 21:58:00 +020   Michael Hirmke wrote:
>Hi Clark,
>
>[...]
>> I have written a program for paging. Neither the
>>more pipe nor the pg pipe work on my machine. The
>>program mypg is ment to replace these programs that
>>I don't have. The code compiles and runs fine when
>
>You have "less" instead; no joke - just try it.

Thanks I never would have guessed this.

>
>>I use the Watcom compiler, but I can't get it to
>>compile with the Cygnus port of GCC. The include
>>file conio.h is not being found. conio.h exists
>>in one of the subdirectories of Cygnus, but GCC
>

More precisely phrased, I got the sample code to
compile and run with WATCOM. The WATCOM executible
runs fine under Bash.

>Your setup seems to be, uhm a bit chaotic.

I am still a bit new to this. I have 2 different
versions of gcc, one from the FSF windows/dos/NT
CD Rom and one from Cygnus. To make matters worse,
there are minor differences between FSF bash for
Dos and Cygwin bash, and I have almost no UNIX
experience to start with. If I can just get up
and running, to where I am using GCC and bash
every day, I think things should settle down.

>Please paste the output of
>   cygcheck -s -v -r 
>to a mail to this list. Perhaps we can see, what's
>going wrong.
>

It is attached. 

Thanks you very much for your help,

Clark

--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Wed Aug 25 06:01:17 1999

WinNT Ver 4.0 build 1381 Service Pack 5

Path:	/cygnus/CYGWIN~1/H-I586~1/bin
	/cygnus/CYGWIN~1/H-I586~1/bin
	d
	/fsf/emacs-19.34/bin
	d
	/fsf/bin
	/WINNT/system32
	/WINNT
	d
	/CCLIB/libnt
	d
	/WATCOM/BINNT
	d
	/WATCOM/BINW
	d
	/util
	.
	d
	/PROGRA~1/ULTRAEDT

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

MAKE_MODE = `UNIX'
PWD = `/WINNT/Profiles/Administrator/Desktop'

!C: = `C:\WINNT\PROFILES\Administrator\DESKTOP'
CCLIB = `D:\CCLIB'
COMPUTERNAME = `GALT'
COMSPEC = `C:\WINNT\system32\cmd.exe'
DJGPP = `D:/fsf/djgpp.env'
EDPATH = `d:\WATCOM\EDDAT'
HOMEDRIVE = `C:'
HOMEPATH = `\'
HOSTNAME = `galt'
HOSTTYPE = `i586'
INCLUDE = `d:\WATCOM\H;d:\WATCOM\MFC\INCLUDE;d:\WATCOM\H\NT'
INFOPATH = `D:/fsf/info;D:/fsf/emacs-19.34/info'
LOGONSERVER = `\\GALT'
MACHTYPE = `i586-pc-cygwin32'
MANPATH = `D:/fsf/man'
NUMBER_OF_PROCESSORS = `1'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
OSTYPE = `cygwin32'
PATHEXT = `.COM;.EXE;.BAT;.CMD'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0502'
PROMPT = `$P$G'
SHELL = `/bin/sh'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `C:\TEMP'
TERM = `cygwin'
TEXMF = `D:/fsf/share/texmf'
TEXMFMAIN = `D:/fsf/share/texmf'
TMP = `C:\TEMP'
USERDOMAIN = `GALT'
USERNAME = `johnl'
USERPROFILE = `C:\WINNT\Profiles\Administrator'
WATCOM = `d:\WATCOM'
WINDIR = `C:\WINNT'
_ = `/cygnus/CYGWIN~1/H-I586~1/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
  (default) = `d:'
  unix = `d:'
  fbinary = 0x00000000
  fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
  (default) = `C:'
  unix = `/'
  fbinary = 0x00000000
  fsilent = 0x00000000
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20\B20.1
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32\i586-cygwin32\cygwin-B20.1
  (default) = `c:\cygnus\cygwin-b20'
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cygnus Cygwin B20
  (default) = `C:\WINNT\IsUninst.exe -fc:\cygnus\cygwin-b20\Uninst.isu'
  DisplayName = `Cygwin B20'

a:\ fd           N/A    N/A                    
c:\ hd  FAT      509Mb  75% CP    UN           
d:\ hd  NTFS    7302Mb  17% CP CS UN PA FC     
e:\ cd  CDFS     550Mb 100%    CS UN           CDROM

C:    /        native  text!=binary
d:    d:       native  text!=binary

Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\bash.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\cat.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\cpp.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\find.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\gcc.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\gdb.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\ld.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\ls.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\make.exe
Found: C:\cygnus\CYGWIN~1\H-I586~1\bin\sh.exe
Found: \bin\sh.exe
Warning: C:\cygnus\CYGWIN~1\H-I586~1\bin\sh.exe hides \bin\sh.exe

  371k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=1998/12/1 2:25
    5k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=1998/12/1 2:25
  600k 1998/12/01 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=1998/12/1 2:28
  446k 1998/12/04 C:\cygnus\CYGWIN~1\H-I586~1\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=1998/12/3 22:39
Use -h to see help about each section
--
Want to unsubscribe from this list?
Send a message to [email-masked]