delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/05/15:29:12

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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 5 May 2004 15:28:53 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Ted Yu <ted_yu AT yahoo DOT com>
cc: cygwin AT cygwin DOT com
Subject: RE: DLL generation under Cygwin
In-Reply-To: <20040505191916.59947.qmail@web12102.mail.yahoo.com>
Message-ID: <Pine.GSO.4.56.0405051526530.15563@slinky.cs.nyu.edu>
References: <20040505191916 DOT 59947 DOT qmail AT web12102 DOT mail DOT yahoo DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Wed, 5 May 2004, Ted Yu wrote:

> Hi, Igor:
> > <http://mingw.org/>.  This is what you invoke when you give the
> > -mno-cygwin flag to gcc.  Incidentally, once you
>
> Does this mean I need to install MinGW runtime ?

Yes, to be able to use "gcc -mno-cygwin".

> > That's because you use "ld" instead of "gcc".  "gcc" (with appropriate
> > flags, i.e., "-mno-cygwin") should do the right thing.  You can also
> > use "gcc -shared" instead of dlltool, IIRC.
>
> Where does gcc find free(), malloc() in this case ?

In the libc.a or *crt*.o appropriate for the platform (MinGW).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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