sys/socket.h is also a Cygwin thingy. Only the include files under
/usr/include/w32api and /usr/include/mingw are useful for non-cygwin
apps. If you want to use the POSIX headers, build a Cygwin app.
OK
Let's say I do not want the POSIX flag. And I want to use only w32api and
mingw..
so
And also I do not understand :
> cc -Wall -D_POSIX_SOURCE -D__rtems__ -mno-cygwin -mwindows
-I../include/
^^^
> [...]
> So did I miss a flag in order to compile, or a bad location, or is it a
bug
> ??
No, you used a flag t
> cc -Wall -D_POSIX_SOURCE -D__rtems__ -mno-cygwin -mwindows
-I../include/
^^^
> [...]
> So did I miss a flag in order to compile, or a bad location, or is it a
bug
> ??
No, you used a flag too many. The Cygwin header files and Cygwin
capab
Hello everybody...
I uploaded last (as of yesterday) version of cygwin..
Then I tried compiling some of my libraries...
Here is the result on one dealing with sockets :
cc -Wall -D_POSIX_SOURCE -D__rtems__ -mno-cygwin -mwindows -I../include/
-I/usr/include -c MyBase.c
In file included f
OK... Finally I think everything is clear...
And just to be perfectly clear and on the safe side :
if I were to do the opposite :
port entirley the project under cygwin using cygwin sockets and X and
build the binaries with cygwin
I would have to ship cygwin1.DLL (or is it cygwin2 ?) toge
OK thanks a lot for your time and answer...
I read the User's Guide...
Almost everything is clear now...
I still have a last question :
In the examples you gave me of different applications (Hello), they are both
LINKED via cgwin.
Unfortunatley my project if a major GUI program (about 80 0
Thanks Corinna for your answer.. It is not yet entirely clear for me...
.
This is a NO-NO on this list.
I apologize for that. As I said I discovered cygwin and your site this
weekend...
If you create static libs which don't use Cygwin functions, then you're
build native Windows libs. T
From: Tim Prince <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: cygwin@cygwin.com
Subject: Re: Questions about porting from Linux to Windows...
Date: Mon, 22 Jan 2007 05:52:28 -0800
You are going way beyond the scope of this list. A mingw .a library could
be linked into an MSVC build,
Hello
I am in the process of porting a huge application (> 700 000 lines of code ;
C ; Unix/Linux) to Windows.
I will not be using cygwin to port the GUI, but the project is based on lots
of static libraries. Thus it prompted me with several questions, both
technical and commercial.
I wi
9 matches
Mail list logo