This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: how can i use my own func in stdio.a?,such as printf
- From: "Martin Gainty" <mgainty at hotmail dot com>
- To: "zhao mindong" <foolfox008 at hotmail dot com>,<cygwin at cygwin dot com>
- Date: Tue, 26 Aug 2003 22:22:36 -0700
- Subject: Re: how can i use my own func in stdio.a?,such as printf
- References: <BAY1-F7SUfjhcgrqouL0000aa25@hotmail.com>
Read
http://wingimp.hp.infoseek.co.jp/gimp/docs/README.win32
Particulary the part about *NOT using cygwin runtime*
<!--StartFragment-->
With gcc I mean gcc-2.95.2 as distributed by Mumit Khan, either as a
mingw version (preferred), or running under cygwin. To successfully
use gcc, follow the instructions below. We want to use gcc
-mno-cygwin, i.e. produce executables (.exe and .dll files) that do
*not* require the cygwin runtime library. This is called "mingw". I
also use the -fnative-struct flag, which means that in order to use
the prebuilt DLLs (especially of GTK+), you *must* also use that flag.
(This flag means that the struct layout is identical to that used by
MSVC.)
Hth,
Martin
----- Original Message -----
From: "zhao mindong" <foolfox008@hotmail.com>
To: <cygwin@cygwin.com>
Sent: Tuesday, August 26, 2003 7:09 PM
Subject: how can i use my own func in stdio.a?,such as printf
> i want to use my own printf,but i must use the other function declared
> in stdio.h,there is always an error"previous defined",how can i solve the
> problem.
> another question,how can i build the cygwin1.dll?any reference or
> document here? thanks.
>
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/