Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [24.34.177.222] X-Originating-Email: [mgainty AT hotmail DOT com] From: "Martin Gainty" To: "zhao mindong" , References: Subject: Re: how can i use my own func in stdio.a?,such as printf Date: Tue, 26 Aug 2003 22:22:36 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Message-ID: X-OriginalArrivalTime: 27 Aug 2003 02:22:11.0529 (UTC) FILETIME=[05ABC390:01C36C42] Read http://wingimp.hp.infoseek.co.jp/gimp/docs/README.win32 Particulary the part about *NOT using cygwin runtime* 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" To: 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/