This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: using gcc to build non-cygwin binaries


----Original Message----
>From: Jason Pyeron
>Sent: 05 August 2005 14:04

> Can gcc produce standard win32 dll/exe?
> 
> That is not linked to cygwin?

  Yes, use the -mno-cygwin flag (as well as -shared if building a .dll).
That will give you an .exe or .dll that is essentially a mingw application,
i.e. win32 native, and does not link against the cygwin dll or libraries at
all.

  Of course, without cygwin, you can't use any of the POSIX APIs it
implements.  You can still use the limited subset implemented in mingw
though.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]