public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Getting lynx.exe to compile _and_ _work_ from cygwin
@ 1997-10-22  1:08 Victor Schneider
  1997-10-22 18:52 ` Michael Hirmke
  0 siblings, 1 reply; 5+ messages in thread
From: Victor Schneider @ 1997-10-22  1:08 UTC (permalink / raw)
  To: gnu-win32

At 10:17 AM 10/22/97 +0300, you wrote:
>Victor Schneider wrote:
>> One plausible reason why lynx.exe won't work after being configured and
>> compiled under b18 cygwin32 is that the winsocket.dll initialization
>> function isn't called from lynx.  If you define `_WINDOWS' in
>
>Lynx configured and compiled under b18 cygwin runs fine! The initialisation
of winsock is performed by cygwin.dll's start-up code.
>
It doesn't work.  If you've run `./configure' and compiled the result, you
would know that (a) it doesn't read the control keys properly, unless you
use slang and (b) it can't look up named hosts.  I've done it enough times
with enough versions of lynx to know.  So, either you are very careless, or
you are lying.

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: Getting lynx.exe to compile _and_ _work_ from cygwin
@ 1997-10-22  4:36 Sergey Okhapkin
  0 siblings, 0 replies; 5+ messages in thread
From: Sergey Okhapkin @ 1997-10-22  4:36 UTC (permalink / raw)
  To: gnu-win32, 'Victor Schneider'

Victor Schneider wrote:
> >Lynx configured and compiled under b18 cygwin runs fine! The initialisation
> of winsock is performed by cygwin.dll's start-up code.
> >
> It doesn't work.  If you've run `./configure' and compiled the result, you

Where did you find configure script in lynx-2.7.1 package? I just ran "make generic".

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job.


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: Getting lynx.exe to compile _and_ _work_ from cygwin
@ 1997-10-21 23:17 Sergey Okhapkin
  0 siblings, 0 replies; 5+ messages in thread
From: Sergey Okhapkin @ 1997-10-21 23:17 UTC (permalink / raw)
  To: gnu-win32, 'Victor Schneider'

Victor Schneider wrote:
> One plausible reason why lynx.exe won't work after being configured and
> compiled under b18 cygwin32 is that the winsocket.dll initialization
> function isn't called from lynx.  If you define `_WINDOWS' in

Lynx configured and compiled under b18 cygwin runs fine! The initialisation of winsock is performed by cygwin.dll's start-up code.

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job.


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Getting lynx.exe to compile _and_ _work_ from cygwin
@ 1997-10-21 15:44 Victor Schneider
  0 siblings, 0 replies; 5+ messages in thread
From: Victor Schneider @ 1997-10-21 15:44 UTC (permalink / raw)
  To: gnu-win32

One plausible reason why lynx.exe won't work after being configured and
compiled under b18 cygwin32 is that the winsocket.dll initialization
function isn't called from lynx.  If you define `_WINDOWS' in
lynx/src/LYMain.c and define the structures used by the LYMain.c Windows
initialization call at the top of the file, you discover that it won't link
the extra functions, even though libwsock32.a has the named functions.

The reason that you don't want to include <winsock.h> in LYMain.c is that
the file is so badly written that it redefines and redeclares basic types
over and over again during the inclusion of miscellaneous files from
<cygwin32/...>, <windows32/...>, and <sys/...>.

Of course, then the question is how other winsocket users, like the slrn
news reader, manage to operate without initializing the winsocket.dll.

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

end of thread, other threads:[~1997-10-22 18:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-22  1:08 Getting lynx.exe to compile _and_ _work_ from cygwin Victor Schneider
1997-10-22 18:52 ` Michael Hirmke
  -- strict thread matches above, loose matches on Subject: below --
1997-10-22  4:36 Sergey Okhapkin
1997-10-21 23:17 Sergey Okhapkin
1997-10-21 15:44 Victor Schneider

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