delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/25/10:48:41

From: kermit AT ticnet DOT com (Kermit Tensmeyer)
Subject: New Question:
25 Sep 1997 10:48:41 -0700 :
Message-ID: <342A87A2.A5F83FEC.cygnus.gnu-win32@ticnet.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Yea, I Know,  RTFM.

What I'd like is a pointer to the right FM...

 I'm trying to get a little piece of code working..

 Works on Unix fine.

  Move code to NT, compile and link.  "it" complains about missing
 object modules. I used perl and nm to search the libraries to
 find the particular library.

 I found the source of the library as libwsock32.a, so I added 
-lwsock32.a. No complaints from gcc, so i assume that it found
 the directory and the file. But it still complains that _rexec
 and _recv are not found in the link.

 so either it's not translating the name (hardly, I think _name
 is almost universal for the gcc linkers), wrong library (maybe)
 or there is a missing include file.

  Is there a include file that matchs the functions in the 
  libwsock32.a and gives the prototypes?

  somehow I think that it would be unusual if the functions
  (parameters and returns) would match the Unix implementation
  for sock_stream and remote execution.

  Hints?  I would be glad to RTFM.

-- 
-------
  Kermit Tensmeyer    (E & T - Networking)
  Kermit AT ticnet DOT com     Dallas
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019