public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygwin-1.1.1 gcc configuration problem.
@ 2000-05-24  4:58 Teun Burgers
  2000-05-24  5:06 ` Leif Lundgren
  0 siblings, 1 reply; 6+ messages in thread
From: Teun Burgers @ 2000-05-24  4:58 UTC (permalink / raw)
  To: cygwin

Hi

I downloaded today cygwin-1.1.1 using setup.exe. It downloaded and
installed everything (into c:\cygnus\cygwin-1.1.1)  without error
message.
I had a B20 installation in c:\cynus\cygwin-b20

Now when I try to compile a Hello World program, it complains
it can't find stdio.h. If I add the location where stdio.h
dwells to C_INCLUDE_PATH it does find stdio.h but not
stddev and stdarg.h.

gcc --version says gcc-2.95.2

I probably do something completely wrong setting up path's
and mounts.

any suggestions?

thanks

Teun Burgers

-- 
Drs A.R. Burgers        Netherlands Energy Research Foundation ECN
Phone: +31-224-564959   Solar & Wind Energy, PV Cells & Modules
Fax  : +31-224-563214   P.O. Box 1
email: burgers@ecn.nl   1755 ZG Petten, The Netherlands

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Wed May 24 11:39:52 2000

Win95 Ver 4.0 build 67306684  B

Path:	.
	/usr/bin
	/usr/local/bin
	/cygdrive/c/djgpp/bin
	/cygdrive/c/WINDOWS
	/cygdrive/c/WINDOWS/COMMAND
	/cygdrive/c/PROGRA~1/NETWOR~1/MCAFEE~1
	/cygdrive/c/DJGPP/BIN
	/cygdrive/c/BIN
	/cygdrive/c/JDK1.1.7A/BIN

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

C_INCLUDE_PATH = `//c/cygnus/cygwin-1.1.1/usr/i686-pc-cygwin/include'
HOME = `/cygdrive/c/home/teun'
MAKE_MODE = `UNIX'
PWD = `//c/cygnus/cygwin-1.1.1'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
c:  hd  FAT     2047Mb  92% CP    UN       VC  WINDOWS_95
d:  cd           N/A    N/A                    
e:  net NTFS    2047Mb   0% CP CS UN PA FC     
f:  net Samba   2047Mb   0% CP    UN           aburgers
g:  hd  FAT     2047Mb   8% CP    UN       VC  GECOMPRIMD
h:  hd  FAT     2013Mb  97% CP    UN           HOST VOOR C
m:  net NTFS    2047Mb   0% CP CS UN PA FC     
n:  net Samba   2047Mb  72% CP    UN           EcnShare
p:  net NTFS    2047Mb   0% CP CS UN PA FC     

c:\cygnus\cygwin-1.1.1\bin  /usr/bin  user    binmode
c:\cygnus\cygwin-1.1.1\lib  /usr/lib  user    binmode
c:\cygnus\cygwin-1.1.1  /        user    binmode

Found: c:\cygnus\cygwin-1.1.1\bin\bash.exe
Found: c:\djgpp\bin\bash.exe
Found: c:\BIN\bash.exe
Found: \bin\bash.exe
Found: c:\cygnus\cygwin-1.1.1\bin\cat.exe
Found: c:\djgpp\bin\cat.exe
Found: c:\cygnus\cygwin-1.1.1\bin\cpp.exe
Found: c:\djgpp\bin\cpp.exe
Found: c:\cygnus\cygwin-1.1.1\bin\find.exe
Found: c:\djgpp\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Found: c:\cygnus\cygwin-1.1.1\bin\gcc.exe
Found: c:\djgpp\bin\gcc.exe
Found: c:\cygnus\cygwin-1.1.1\bin\gdb.exe
Found: c:\djgpp\bin\gdb.exe
Found: c:\cygnus\cygwin-1.1.1\bin\ld.exe
Found: c:\djgpp\bin\ld.exe
Found: c:\cygnus\cygwin-1.1.1\bin\ls.exe
Found: c:\djgpp\bin\ls.exe
Found: c:\cygnus\cygwin-1.1.1\bin\make.exe
Found: c:\djgpp\bin\make.exe
Found: c:\cygnus\cygwin-1.1.1\bin\sh.exe
Found: c:\djgpp\bin\sh.exe
Found: c:\BIN\sh.exe
Found: \bin\sh.exe

  451k 1999/07/16 C:\WINDOWS\cygwin1.dll
  569k 2000/05/15 c:\cygnus\cygwin-1.1.1\bin\cygwin1.dll
  115k 1999/09/14 c:\cygnus\cygwin-1.1.1\bin\cygitcl30.dll
   63k 1999/09/14 c:\cygnus\cygwin-1.1.1\bin\cygitk30.dll
  474k 1999/09/14 c:\cygnus\cygwin-1.1.1\bin\cygtcl80.dll
   19k 1999/09/14 c:\cygnus\cygwin-1.1.1\bin\cygtclpip80.dll
   24k 1999/09/14 c:\cygnus\cygwin-1.1.1\bin\cygtclreg80.dll
  768k 1999/09/14 c:\cygnus\cygwin-1.1.1\bin\cygtk80.dll
Use -h to see help about each section

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

* Re: cygwin-1.1.1 gcc configuration problem.
  2000-05-24  4:58 cygwin-1.1.1 gcc configuration problem Teun Burgers
@ 2000-05-24  5:06 ` Leif Lundgren
  2000-05-24  6:00   ` Teun Burgers
  2000-05-26  1:07   ` sqltypes.h: missing #include <windows.h>? Teun Burgers
  0 siblings, 2 replies; 6+ messages in thread
From: Leif Lundgren @ 2000-05-24  5:06 UTC (permalink / raw)
  To: Teun Burgers, cygwin

At 13:53 2000-05-24 +0200, Teun Burgers wrote:
>Hi
>
>I downloaded today cygwin-1.1.1 using setup.exe. It downloaded and
>installed everything (into c:\cygnus\cygwin-1.1.1)  without error
>message.
>I had a B20 installation in c:\cynus\cygwin-b20
>
>Now when I try to compile a Hello World program, it complains
>it can't find stdio.h. If I add the location where stdio.h
>dwells to C_INCLUDE_PATH it does find stdio.h but not
>stddev and stdarg.h.
>
>gcc --version says gcc-2.95.2
>
>I probably do something completely wrong setting up path's
>and mounts.
>
>any suggestions?
>
>thanks
>
>Teun Burgers

I had similar problems.
In my case it was to cygwin1.dll conflicting.
It seems that you too have that problem.
Try to make sure that there are just one availible version of cugwin1.dll

>   451k 1999/07/16 C:\WINDOWS\cygwin1.dll
>   569k 2000/05/15 c:\cygnus\cygwin-1.1.1\bin\cygwin1.dll


/Leif


--
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: cygwin-1.1.1 gcc configuration problem.
  2000-05-24  5:06 ` Leif Lundgren
@ 2000-05-24  6:00   ` Teun Burgers
  2000-05-26  1:07   ` sqltypes.h: missing #include <windows.h>? Teun Burgers
  1 sibling, 0 replies; 6+ messages in thread
From: Teun Burgers @ 2000-05-24  6:00 UTC (permalink / raw)
  To: cygwin; +Cc: Leif Lundgren

Hello Leif and Earnie 

Leif Lundgren wrote:

> I had similar problems.
> In my case it was to cygwin1.dll conflicting.
> It seems that you too have that problem.
> Try to make sure that there are just one availible version of cugwin1.dll

This did solve the problem!

Earnie Boyd wrote:

> Please supply the output of `cygcheck -s -v -r'.  C_INCLUDE_PATH isn't needed
> and should be unset.

Thanks a lot to both of you for such a quick response!

Teun Burgers

> At 13:53 2000-05-24 +0200, Teun Burgers wrote:
> >Hi
> >
> >I downloaded today cygwin-1.1.1 using setup.exe. It downloaded and
> >installed everything (into c:\cygnus\cygwin-1.1.1)  without error message.
> >I had a B20 installation in c:\cynus\cygwin-b20
> >
> >Now when I try to compile a Hello World program, it complains
> >it can't find stdio.h. If I add the location where stdio.h
> >dwells to C_INCLUDE_PATH it does find stdio.h but not
> >stddev and stdarg.h.
> >
> >gcc --version says gcc-2.95.2
> >
> >I probably do something completely wrong setting up path's
> >and mounts.
> >
> >any suggestions?

-- 
Drs A.R. Burgers        Netherlands Energy Research Foundation ECN
Phone: +31-224-564959   Solar & Wind Energy, PV Cells & Modules
Fax  : +31-224-563214   P.O. Box 1
email: burgers@ecn.nl   1755 ZG Petten, The Netherlands

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

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

* sqltypes.h: missing #include <windows.h>?
  2000-05-24  5:06 ` Leif Lundgren
  2000-05-24  6:00   ` Teun Burgers
@ 2000-05-26  1:07   ` Teun Burgers
  2000-05-29  8:39     ` Teun Burgers
  1 sibling, 1 reply; 6+ messages in thread
From: Teun Burgers @ 2000-05-26  1:07 UTC (permalink / raw)
  To: cygwin

Hi

sqltypes.h from cygwin-1.1.1 contains typedefs
such as

typedef ULONG UDWORK;

ULONG and some others are defined in windows.h.
Shouldn't sqltypes.h contain a #include <windows.h>?

I came across this when trying to build the DBD-ODBC-0.28
ODBC driver for perl DBI.

Teun Burgers

-- 
Drs A.R. Burgers        Netherlands Energy Research Foundation ECN
Phone: +31-224-564959   Solar & Wind Energy, PV Cells & Modules
Fax  : +31-224-563214   P.O. Box 1
email: burgers@ecn.nl   1755 ZG Petten, The Netherlands

--
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: sqltypes.h: missing #include <windows.h>?
  2000-05-26  1:07   ` sqltypes.h: missing #include <windows.h>? Teun Burgers
@ 2000-05-29  8:39     ` Teun Burgers
  0 siblings, 0 replies; 6+ messages in thread
From: Teun Burgers @ 2000-05-29  8:39 UTC (permalink / raw)
  To: cygwin; +Cc: full_turtle

Teun Burgers wrote:
>> 
>> sqltypes.h from cygwin-1.1.1 contains typedefs
>> such as
>> 
>> typedef ULONG UDWORK;
>> 
>> ULONG and some others are defined in windows.h.
>> Shouldn't sqltypes.h contain a #include <windows.h>?
>> 
>> I came across this when trying to build the DBD-ODBC-0.28
>> ODBC driver for perl DBI.

Full Turtle wrote:

> Maybe, but nothing stops you to #include <windows.h> in your sources!

I understand *that* much.

The problem (or rather minor nuisance) is there is at least one
package out there that built cleanly under B20 with Anders
Norlanders header set, because apparently windows.h *was* included
in sqltypes.h.

This package does not build out-of-the-box anymore on 1.1.1.
On the other hand building under B20, required installing
Anders Norlanders headers, so you can equally well say it builds
more easily on 1.1.1

Teun Burgers

-- 
Drs A.R. Burgers        Netherlands Energy Research Foundation ECN
Phone: +31-224-564959   Solar & Wind Energy, PV Cells & Modules
Fax  : +31-224-563214   P.O. Box 1
email: burgers@ecn.nl   1755 ZG Petten, The Netherlands

--
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: sqltypes.h: missing #include <windows.h>?
@ 2000-05-26 10:57 Full Turtle
  0 siblings, 0 replies; 6+ messages in thread
From: Full Turtle @ 2000-05-26 10:57 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

Maybe, but nothing stops you to #include <windows.h> in your sources!
--- Teun Burgers <burgers@ecn.nl> wrote: > Hi
> 
> sqltypes.h from cygwin-1.1.1 contains typedefs
> such as
> 
> typedef ULONG UDWORK;
> 
> ULONG and some others are defined in windows.h.
> Shouldn't sqltypes.h contain a #include <windows.h>?



=====
FullTurtle

________________________________________________________________________
O YAHOO! GEOCITIES CHEGOU AO BRASIL!
Crie sua home page com tudo em português - http://br.geocities.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

end of thread, other threads:[~2000-05-29  8:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-24  4:58 cygwin-1.1.1 gcc configuration problem Teun Burgers
2000-05-24  5:06 ` Leif Lundgren
2000-05-24  6:00   ` Teun Burgers
2000-05-26  1:07   ` sqltypes.h: missing #include <windows.h>? Teun Burgers
2000-05-29  8:39     ` Teun Burgers
2000-05-26 10:57 Full Turtle

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