public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: finds headers, then 'ignores' them
@ 1999-09-18 19:42 Earnie Boyd
  1999-09-30 23:42 ` Earnie Boyd
  0 siblings, 1 reply; 6+ messages in thread
From: Earnie Boyd @ 1999-09-18 19:42 UTC (permalink / raw)
  To: Wyndham Bolling Blanton, cygwin

--- Wyndham Bolling Blanton <magneto@dirac.cchem.berkeley.edu> wrote:
> using gcc -H i can tell it has found the correct headers (string.h, etc),
> but then it refuses to believe that strings are strings (or for that
> matter any function declared in the headers, etc). it then poops out
> saying stuff like 'implict declaration of function printf.'  silly no?
> i've gotten b20.1, tried using both gcc 2.95 and the one that came with
> the 'full' distribution and no dice.  no silly environment variables set
> or anything like so.  if anybody has a clue, i would appriciate any help.

My guess is that you have a mixed bag, i.e. pieces and parts from different
versions.  Ensure that you have only one cygwin dll on the path and that it the
version you keep is cygwin1.dll.  Paste or attach plain text of the output of
`cygcheck -s -v -r'.
===
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: finds headers, then 'ignores' them
  1999-09-18 19:42 finds headers, then 'ignores' them Earnie Boyd
@ 1999-09-30 23:42 ` Earnie Boyd
  0 siblings, 0 replies; 6+ messages in thread
From: Earnie Boyd @ 1999-09-30 23:42 UTC (permalink / raw)
  To: Wyndham Bolling Blanton, cygwin

--- Wyndham Bolling Blanton <magneto@dirac.cchem.berkeley.edu> wrote:
> using gcc -H i can tell it has found the correct headers (string.h, etc),
> but then it refuses to believe that strings are strings (or for that
> matter any function declared in the headers, etc). it then poops out
> saying stuff like 'implict declaration of function printf.'  silly no?
> i've gotten b20.1, tried using both gcc 2.95 and the one that came with
> the 'full' distribution and no dice.  no silly environment variables set
> or anything like so.  if anybody has a clue, i would appriciate any help.

My guess is that you have a mixed bag, i.e. pieces and parts from different
versions.  Ensure that you have only one cygwin dll on the path and that it the
version you keep is cygwin1.dll.  Paste or attach plain text of the output of
`cygcheck -s -v -r'.
===
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* finds headers, then 'ignores' them
  1999-09-18 16:47 Wyndham Bolling Blanton
@ 1999-09-30 23:42 ` Wyndham Bolling Blanton
  0 siblings, 0 replies; 6+ messages in thread
From: Wyndham Bolling Blanton @ 1999-09-30 23:42 UTC (permalink / raw)
  To: cygwin

hello

i'm new to b20 and i am tring to complie some libraries for my nt
system.
but before i can do that i tried to compile a 'hello world' program...but
with no luck.  the library complies on version 19, but then goes 'nuts'
when another programs tries to use it.  i had the entire system working
under b18, but that was moons ago and long since faded into dust. enough
babble: the problem.  

using gcc -H i can tell it has found the correct headers (string.h, etc),
but then it refuses to believe that strings are strings (or for that
matter any function declared in the headers, etc). it then poops out
saying stuff like 'implict declaration of function printf.'  silly no?
i've gotten b20.1, tried using both gcc 2.95 and the one that came with
the 'full' distribution and no dice.  no silly environment variables set
or anything like so.  if anybody has a clue, i would appriciate any help.

bo
magneto@dirac.cchem.berkeley.edu


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: finds headers, then 'ignores' them
  1999-09-21  6:01 Earnie Boyd
@ 1999-09-30 23:42 ` Earnie Boyd
  0 siblings, 0 replies; 6+ messages in thread
From: Earnie Boyd @ 1999-09-30 23:42 UTC (permalink / raw)
  To: Wyndham Bolling Blanton; +Cc: cygwin users

--- Wyndham Bolling Blanton <magneto@dirac.cchem.berkeley.edu> wrote:
> hello, thank you for the responce.
> 
> i don't think it is the smattering of different versions because each time
> i run into a problem i reinstall b20 (the older versions b18 b19 were on
> different machine) but below you will find the cygcheck output. if you
> have any ideas...
> 

see interspersed below.

> bo
> 
> -----------------------------------------------------------------
> 
> 
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Mon Sep 20 13:18:54 1999
> 
> WinNT Ver 4.0 build 1381 Service Pack 5
> 
> Path:	/usr/bin
> 	/bin
> 	/cygwin-b20/H-i586-cygwin32/i586-cygwin32/bin
> 	/winnt/system32
> 	/bin
> 	.
-8<-

First, clean up the PATH variable so that only one copy of each directory
resides.

-8<-
>
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Favorites\cygnus
>   (default) = (unsupported type)
> 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:\cygwin-b20'
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cygnus
> Cygwin B20
>   (default) = `C:\WINNT\IsUninst.exe -fc:\cygwin-b20\Uninst.isu'
>   DisplayName = `Cygwin B20'
> 
-8<-

Do you still have the GNUPro package installed?

-8<-
> a:\ fd           N/A    N/A                    
> c:\ hd  NTFS    2047Mb  86% CP CS UN PA FC     
> d:\ fd           N/A    N/A                    
> e:\ hd  NTFS   32679Mb  42% CP CS UN PA FC     
> f:\ cd           N/A    N/A                    
> 
> C:                                 /        native  text!=binary
> C:\cygwin-b20\H-i586-cygwin32\bin  /bin     native  text!=binary
> C:\cygwin-b20\etc                  /etc     native  text!=binary
> C:\temp                            /tmp     native  text!=binary
> C:\cygwin-b20\usr                  /usr     native  text!=binary
> 
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\bash.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\cat.exe
> Not Found: cpp (good!)
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\find.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\gcc.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\gdb.exe
-8<-

-8>-
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\ld.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\i586-cygwin32\bin\ld.exe
> Warning: C:\cygwin-b20\H-i586-cygwin32\bin\ld.exe hides
> C:\cygwin-b20\H-i586-cygwin32\i586-cygwin32\bin\ld.exe
-8<-

Here's the potential for your problem.  It appears that you've gcc installed in
two different places in your directory tree.  This can lead to confusing gcc as
to what is where thus it finds a header but doesn't use it.  NOTE: The path
that gcc uses to find the header is relative to the path where the specs file
resides which for cygwin is usually
/<pathto>/lib/gcc-lib/i586-cygwin32/<gcc-version-relative>/.

-8<-
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\ls.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\make.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\sh.exe
> 
>   371k 1998/12/01 C:\cygwin-b20\H-i586-cygwin32\bin\cygtcl80.dll - os=4.0
> img=1.0 sys=4.0
>                   "cygtcl80.dll" v0.0 ts=1998/12/1 0:25
>     5k 1998/12/01 C:\cygwin-b20\H-i586-cygwin32\bin\cygtclpip80.dll -
> os=4.0 img=1.0 sys=4.0
>    10k 1998/12/01 C:\cygwin-b20\H-i586-cygwin32\bin\cygtclreg80.dll -
> os=4.0 img=1.0 sys=4.0
>                   "cygtclreg80.dll" v0.0 ts=1998/12/1 0:25
>   600k 1998/12/01 C:\cygwin-b20\H-i586-cygwin32\bin\cygtk80.dll - os=4.0
> img=1.0 sys=4.0
>                   "cygtk80.dll" v0.0 ts=1998/12/1 0:28
>   446k 1998/12/04 C:\cygwin-b20\H-i586-cygwin32\bin\cygwin1-old.dll -
> os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=1998/12/3 20:39
>   451k 1999/09/19 C:\cygwin-b20\H-i586-cygwin32\bin\cygwin1.dll - os=4.0
> img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=1999/1/15 21:09
> Use -h to see help about each section
> --------------------------------------------------------
> 
> On Sat, 18 Sep 1999, Earnie Boyd wrote:
> 
> > --- Wyndham Bolling Blanton <magneto@dirac.cchem.berkeley.edu> wrote:
> > > using gcc -H i can tell it has found the correct headers (string.h, etc),
> > > but then it refuses to believe that strings are strings (or for that
> > > matter any function declared in the headers, etc). it then poops out
> > > saying stuff like 'implict declaration of function printf.'  silly no?
> > > i've gotten b20.1, tried using both gcc 2.95 and the one that came with
> > > the 'full' distribution and no dice.  no silly environment variables set
> > > or anything like so.  if anybody has a clue, i would appriciate any help.
> > 
-8<-

Good Luck,

===
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: finds headers, then 'ignores' them
@ 1999-09-21  6:01 Earnie Boyd
  1999-09-30 23:42 ` Earnie Boyd
  0 siblings, 1 reply; 6+ messages in thread
From: Earnie Boyd @ 1999-09-21  6:01 UTC (permalink / raw)
  To: Wyndham Bolling Blanton; +Cc: cygwin users

--- Wyndham Bolling Blanton <magneto@dirac.cchem.berkeley.edu> wrote:
> hello, thank you for the responce.
> 
> i don't think it is the smattering of different versions because each time
> i run into a problem i reinstall b20 (the older versions b18 b19 were on
> different machine) but below you will find the cygcheck output. if you
> have any ideas...
> 

see interspersed below.

> bo
> 
> -----------------------------------------------------------------
> 
> 
> Cygnus Win95/NT Configuration Diagnostics
> Current System Time: Mon Sep 20 13:18:54 1999
> 
> WinNT Ver 4.0 build 1381 Service Pack 5
> 
> Path:	/usr/bin
> 	/bin
> 	/cygwin-b20/H-i586-cygwin32/i586-cygwin32/bin
> 	/winnt/system32
> 	/bin
> 	.
-8<-

First, clean up the PATH variable so that only one copy of each directory
resides.

-8<-
>
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Favorites\cygnus
>   (default) = (unsupported type)
> 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:\cygwin-b20'
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cygnus
> Cygwin B20
>   (default) = `C:\WINNT\IsUninst.exe -fc:\cygwin-b20\Uninst.isu'
>   DisplayName = `Cygwin B20'
> 
-8<-

Do you still have the GNUPro package installed?

-8<-
> a:\ fd           N/A    N/A                    
> c:\ hd  NTFS    2047Mb  86% CP CS UN PA FC     
> d:\ fd           N/A    N/A                    
> e:\ hd  NTFS   32679Mb  42% CP CS UN PA FC     
> f:\ cd           N/A    N/A                    
> 
> C:                                 /        native  text!=binary
> C:\cygwin-b20\H-i586-cygwin32\bin  /bin     native  text!=binary
> C:\cygwin-b20\etc                  /etc     native  text!=binary
> C:\temp                            /tmp     native  text!=binary
> C:\cygwin-b20\usr                  /usr     native  text!=binary
> 
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\bash.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\cat.exe
> Not Found: cpp (good!)
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\find.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\gcc.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\gdb.exe
-8<-

-8>-
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\ld.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\i586-cygwin32\bin\ld.exe
> Warning: C:\cygwin-b20\H-i586-cygwin32\bin\ld.exe hides
> C:\cygwin-b20\H-i586-cygwin32\i586-cygwin32\bin\ld.exe
-8<-

Here's the potential for your problem.  It appears that you've gcc installed in
two different places in your directory tree.  This can lead to confusing gcc as
to what is where thus it finds a header but doesn't use it.  NOTE: The path
that gcc uses to find the header is relative to the path where the specs file
resides which for cygwin is usually
/<pathto>/lib/gcc-lib/i586-cygwin32/<gcc-version-relative>/.

-8<-
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\ls.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\make.exe
> Found: C:\cygwin-b20\H-i586-cygwin32\bin\sh.exe
> 
>   371k 1998/12/01 C:\cygwin-b20\H-i586-cygwin32\bin\cygtcl80.dll - os=4.0
> img=1.0 sys=4.0
>                   "cygtcl80.dll" v0.0 ts=1998/12/1 0:25
>     5k 1998/12/01 C:\cygwin-b20\H-i586-cygwin32\bin\cygtclpip80.dll -
> os=4.0 img=1.0 sys=4.0
>    10k 1998/12/01 C:\cygwin-b20\H-i586-cygwin32\bin\cygtclreg80.dll -
> os=4.0 img=1.0 sys=4.0
>                   "cygtclreg80.dll" v0.0 ts=1998/12/1 0:25
>   600k 1998/12/01 C:\cygwin-b20\H-i586-cygwin32\bin\cygtk80.dll - os=4.0
> img=1.0 sys=4.0
>                   "cygtk80.dll" v0.0 ts=1998/12/1 0:28
>   446k 1998/12/04 C:\cygwin-b20\H-i586-cygwin32\bin\cygwin1-old.dll -
> os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=1998/12/3 20:39
>   451k 1999/09/19 C:\cygwin-b20\H-i586-cygwin32\bin\cygwin1.dll - os=4.0
> img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=1999/1/15 21:09
> Use -h to see help about each section
> --------------------------------------------------------
> 
> On Sat, 18 Sep 1999, Earnie Boyd wrote:
> 
> > --- Wyndham Bolling Blanton <magneto@dirac.cchem.berkeley.edu> wrote:
> > > using gcc -H i can tell it has found the correct headers (string.h, etc),
> > > but then it refuses to believe that strings are strings (or for that
> > > matter any function declared in the headers, etc). it then poops out
> > > saying stuff like 'implict declaration of function printf.'  silly no?
> > > i've gotten b20.1, tried using both gcc 2.95 and the one that came with
> > > the 'full' distribution and no dice.  no silly environment variables set
> > > or anything like so.  if anybody has a clue, i would appriciate any help.
> > 
-8<-

Good Luck,

===
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* finds headers, then 'ignores' them
@ 1999-09-18 16:47 Wyndham Bolling Blanton
  1999-09-30 23:42 ` Wyndham Bolling Blanton
  0 siblings, 1 reply; 6+ messages in thread
From: Wyndham Bolling Blanton @ 1999-09-18 16:47 UTC (permalink / raw)
  To: cygwin

hello

i'm new to b20 and i am tring to complie some libraries for my nt
system.
but before i can do that i tried to compile a 'hello world' program...but
with no luck.  the library complies on version 19, but then goes 'nuts'
when another programs tries to use it.  i had the entire system working
under b18, but that was moons ago and long since faded into dust. enough
babble: the problem.  

using gcc -H i can tell it has found the correct headers (string.h, etc),
but then it refuses to believe that strings are strings (or for that
matter any function declared in the headers, etc). it then poops out
saying stuff like 'implict declaration of function printf.'  silly no?
i've gotten b20.1, tried using both gcc 2.95 and the one that came with
the 'full' distribution and no dice.  no silly environment variables set
or anything like so.  if anybody has a clue, i would appriciate any help.

bo
magneto@dirac.cchem.berkeley.edu


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

end of thread, other threads:[~1999-09-30 23:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-18 19:42 finds headers, then 'ignores' them Earnie Boyd
1999-09-30 23:42 ` Earnie Boyd
  -- strict thread matches above, loose matches on Subject: below --
1999-09-21  6:01 Earnie Boyd
1999-09-30 23:42 ` Earnie Boyd
1999-09-18 16:47 Wyndham Bolling Blanton
1999-09-30 23:42 ` Wyndham Bolling Blanton

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