delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/26/22:22:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <mgainty AT hotmail DOT com>
To: "zhao mindong" <foolfox008 AT hotmail DOT com>, <cygwin AT cygwin DOT com>
References: <BAY1-F7SUfjhcgrqouL0000aa25 AT hotmail DOT com>
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
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Message-ID: <Law10-OE28n8kPda0D5000316c6@hotmail.com>
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*

<!--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 AT hotmail DOT com>
To: <cygwin AT cygwin DOT 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/

- Raw text -


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