From: oyehia@oracle.dsuper.net ("Who cares...")
Subject: Re: dlltool and ld combination does not work
6 Feb 1997 01:23:47 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <Pine.OSF.3.91.970206034053.18732A-100000.cygnus.gnu-win32@oracle>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Original-To: Bappa Pal <pal@holly.mdd.com>
Original-Cc: gnu-win32@cygnus.com
In-Reply-To: <199702051815.NAA09584@holly.mdd.com>
Original-Sender: owner-gnu-win32@cygnus.com



On Wed, 5 Feb 1997, Bappa Pal wrote:

> 
> I am getting an error everytime I use ld to build the dll. The test case I
> am using is very simple. I have a C file called vp_print.c with the
> following code:
> 
> #include <stdio.h>
> #include <stdlib.h>
You are missing:
 #include <string.h>
> 
> void vp_print(char *str_txt)
> {
> 	char str[10];
> 
>       strcpy(str, str_txt);
        ^^^^^^ that is in string.h :)
> 
> }
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
