how can i use my own func in stdio.a?,such as printf

Martin Gainty mgainty@hotmail.com
Wed Aug 27 04:02:00 GMT 2003


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/



More information about the Cygwin mailing list