public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Fwd: Cygwin64: errno.h error values
@ 2013-05-03  7:22 Jan Nijtmans
  2013-05-03  7:34 ` Kai Tietz
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Nijtmans @ 2013-05-03  7:22 UTC (permalink / raw)
  To: cygwin

2013/5/3 Christopher Faylor:
> We make ABSOLUTELY no guarantees that our errnos will match any other
> system's.  You can't expect that you will be able to use Cygwin errno's
> in pure Windows applications.  We really don't care if our errnos match
> those of Windows.  Sorry.

No need for a sorry. I understand. I just felt obliged to report it, because in
the (unlikely) case that such a problem arises a major release is the
only moment that such a thing can be fixed. This would be a chance
to have a single errno.h shared by mingw, mingw-w64, wine and cygwin
(which would then be a superset of Microsoft's).

The mingw-w64 cross-compiler in Cygwin64 (x64_64-w64-mingw32)
is currently lacking "errno.h", I would expect it in:
   /usr/x86_64-w64-mingw32/sys-root/mingw/include/errno.h
In Cygwin32 it's fine, "errno.h" is where I would expect it.
This makes the cross-compiler unusable at the moment for
me in Cygwin64, but in Cygwin32 it works fine.

Thanks for all the work on Cygwin64. I have it in a pretty useful
state now!

Regards,
         Jan Nijtmans

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Cygwin64: errno.h error values
  2013-05-03  7:22 Fwd: Cygwin64: errno.h error values Jan Nijtmans
@ 2013-05-03  7:34 ` Kai Tietz
  0 siblings, 0 replies; 7+ messages in thread
From: Kai Tietz @ 2013-05-03  7:34 UTC (permalink / raw)
  To: cygwin

2013/5/3 Jan Nijtmans wrote:
> 2013/5/3 Christopher Faylor:
>> We make ABSOLUTELY no guarantees that our errnos will match any other
>> system's.  You can't expect that you will be able to use Cygwin errno's
>> in pure Windows applications.  We really don't care if our errnos match
>> those of Windows.  Sorry.
>
> No need for a sorry. I understand. I just felt obliged to report it, because in
> the (unlikely) case that such a problem arises a major release is the
> only moment that such a thing can be fixed. This would be a chance
> to have a single errno.h shared by mingw, mingw-w64, wine and cygwin
> (which would then be a superset of Microsoft's).
>
> The mingw-w64 cross-compiler in Cygwin64 (x64_64-w64-mingw32)
> is currently lacking "errno.h",
Absoultely an absurdity.  Of course mingw-w64 provides an errno.h
header.  Not sure where you expect headers are and what content by
your expectations they shall have, but I would recomment that you
might try before starting to do fural guessings.

Regards,
Kai

PS: The native toolchain and cygwin don't share most of the
C-runtime-headers by good reasons.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Cygwin64: errno.h error values
  2013-05-13 11:12   ` Jan Nijtmans
@ 2013-05-27  2:37     ` NightStrike
  0 siblings, 0 replies; 7+ messages in thread
From: NightStrike @ 2013-05-27  2:37 UTC (permalink / raw)
  To: cygwin

On Mon, May 13, 2013 at 1:12 AM, Jan Nijtmans <jan.nijtmans@gmail.com> wrote:
> 2013/5/8 NightStrike <nightstrike@gmail.com>:
>> How did you install the cross compiler without the dependencies
>> picking up the headers package?
>
> Well, installing the cross-compiler I only get
> the following 4 dependencies:
>
> mingw64-x86_64-binutils    (20130314-1)
>     Binutils for Win64 toolchain
>     Required by: mingw64-x86_64-gcc-core
>
> mingw64-x86_64-gcc-g++    (4.8.0-1)
>     GCC for Win64 toolchain (C++)
>     Required by: mingw64-x86_64-pthreads
>
> mingw64-x86_64-pthreads    (2.9.1-1)
>     Pthreads for Win64 toolchain
>     Required by: mingw64-x86_64-gcc-core
>
> mingw64-x86_64-runtime    (3.0b_svn5658-1)
>     Win64 runtime libraries
>     Required by: mingw64-x86_64-gcc-core
>
> The fact that mingw64-x86_64-pthreads requires
> mingw64-x86_64-gcc-g++ looks strange to me
> as well, but probably others can judge that
> better than I can.

It seems kind of strange that the cross compiler doesn't depend on the
target system header files.  JonY packages this; he should know better
if it's a problem.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Cygwin64: errno.h error values
@ 2013-05-13 11:15 Jan Nijtmans
  0 siblings, 0 replies; 7+ messages in thread
From: Jan Nijtmans @ 2013-05-13 11:15 UTC (permalink / raw)
  To: cygwin

2013/5/8 NightStrike:
> How did you install the cross compiler without the dependencies
> picking up the headers package?

Well, installing the cross-compiler I only get
the following 4 dependencies:

mingw64-x86_64-binutils    (20130314-1)
    Binutils for Win64 toolchain
    Required by: mingw64-x86_64-gcc-core

mingw64-x86_64-gcc-g++    (4.8.0-1)
    GCC for Win64 toolchain (C++)
    Required by: mingw64-x86_64-pthreads

mingw64-x86_64-pthreads    (2.9.1-1)
    Pthreads for Win64 toolchain
    Required by: mingw64-x86_64-gcc-core

mingw64-x86_64-runtime    (3.0b_svn5658-1)
    Win64 runtime libraries
    Required by: mingw64-x86_64-gcc-core

The fact that mingw64-x86_64-pthreads requires
mingw64-x86_64-gcc-g++ looks strange to me
as well, but probably others can judge that
better than I can.

Regards,
        Jan Nijtmans

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Cygwin64: errno.h error values
  2013-05-08  0:43 ` NightStrike
@ 2013-05-13 11:12   ` Jan Nijtmans
  2013-05-27  2:37     ` NightStrike
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Nijtmans @ 2013-05-13 11:12 UTC (permalink / raw)
  To: cygwin

2013/5/8 NightStrike <nightstrike@gmail.com>:
> How did you install the cross compiler without the dependencies
> picking up the headers package?

Well, installing the cross-compiler I only get
the following 4 dependencies:

mingw64-x86_64-binutils    (20130314-1)
    Binutils for Win64 toolchain
    Required by: mingw64-x86_64-gcc-core

mingw64-x86_64-gcc-g++    (4.8.0-1)
    GCC for Win64 toolchain (C++)
    Required by: mingw64-x86_64-pthreads

mingw64-x86_64-pthreads    (2.9.1-1)
    Pthreads for Win64 toolchain
    Required by: mingw64-x86_64-gcc-core

mingw64-x86_64-runtime    (3.0b_svn5658-1)
    Win64 runtime libraries
    Required by: mingw64-x86_64-gcc-core

The fact that mingw64-x86_64-pthreads requires
mingw64-x86_64-gcc-g++ looks strange to me
as well, but probably others can judge that
better than I can.

Regards,
        Jan Nijtmans

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Cygwin64: errno.h error values
  2013-05-03  8:08 Jan Nijtmans
@ 2013-05-08  0:43 ` NightStrike
  2013-05-13 11:12   ` Jan Nijtmans
  0 siblings, 1 reply; 7+ messages in thread
From: NightStrike @ 2013-05-08  0:43 UTC (permalink / raw)
  To: cygwin

On Fri, May 3, 2013 at 4:08 AM, Jan Nijtmans <jan.nijtmans@gmail.com> wrote:
> 2013/5/3 Kai Tietz:
>> 2013/5/3 Jan Nijtmans wrote:
>>> The mingw-w64 cross-compiler in Cygwin64 (x64_64-w64-mingw32)
>>> is currently lacking "errno.h",
>> Absoultely an absurdity.  Of course mingw-w64 provides an errno.h
>> header.  Not sure where you expect headers are and what content by
>> your expectations they shall have, but I would recomment that you
>> might try before starting to do fural guessings.
>
> I just installed Cygwin64 using:
>     <ftp://ftp.cygwin.com/pub/cygwin/64bit/setup.exe>
> But I forgot to install the "mingw64-x86_64-headers" package, that's
> where the missing "errno.h" was. Never mind. Sorry for the confusion.
>
How did you install the cross compiler without the dependencies
picking up the headers package?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Cygwin64: errno.h error values
@ 2013-05-03  8:08 Jan Nijtmans
  2013-05-08  0:43 ` NightStrike
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Nijtmans @ 2013-05-03  8:08 UTC (permalink / raw)
  To: cygwin

2013/5/3 Kai Tietz:
> 2013/5/3 Jan Nijtmans wrote:
>> The mingw-w64 cross-compiler in Cygwin64 (x64_64-w64-mingw32)
>> is currently lacking "errno.h",
> Absoultely an absurdity.  Of course mingw-w64 provides an errno.h
> header.  Not sure where you expect headers are and what content by
> your expectations they shall have, but I would recomment that you
> might try before starting to do fural guessings.

I just installed Cygwin64 using:
    <ftp://ftp.cygwin.com/pub/cygwin/64bit/setup.exe>
But I forgot to install the "mingw64-x86_64-headers" package, that's
where the missing "errno.h" was. Never mind. Sorry for the confusion.

Thanks!

Regards,
          Jan Nijtmans

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2013-05-26 20:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-03  7:22 Fwd: Cygwin64: errno.h error values Jan Nijtmans
2013-05-03  7:34 ` Kai Tietz
2013-05-03  8:08 Jan Nijtmans
2013-05-08  0:43 ` NightStrike
2013-05-13 11:12   ` Jan Nijtmans
2013-05-27  2:37     ` NightStrike
2013-05-13 11:15 Jan Nijtmans

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