DLL generation under Cygwin

Igor Pechtchanski pechtcha@cs.nyu.edu
Wed May 5 19:28:00 GMT 2004


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/



More information about the Cygwin mailing list