X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4F315473.8070106@gmail.com> References: <1328569526 DOT 8848 DOT 3 DOT camel AT YAAKOV04> <4F315473 DOT 8070106 AT gmail DOT com> Date: Tue, 7 Feb 2012 12:35:49 -0600 Message-ID: Subject: Re: Documentation on -mno-cygwin Accuracy From: Quinn Wood To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q17IaDN4013403 On Tue, Feb 7, 2012 at 10:42 AM, marco atzeri wrote: > On 2/7/2012 5:13 PM, carolus wrote: >> Is there an easy procedure that is equivalent >> to the old -mno-cygwin (suitable for a dumb engineer who is not a >> programmer and knows nothing about cross-compilation)? -mno-cygwin was a >> very handy way to distribute a cygwin fortran executable to non-cywin >> users without having to include cygwin1.dll (which I think is not >> exactly legal). >> > define >  CC=i686-pc-mingw32-gcc.exe >  FC=i686-pc-mingw32-gfortran.exe > > if you want to use mingw-gcc compilers. > > similar >  CC=i686-w64-mingw32-gcc.exe >  FC=i686-w64-mingw32-gfortran.exe > > for the mingw64-i686-gcc compilers > You may also have to change your code if it uses Unix features (an application I was recently using utilized mmap, which does not come with Windows.) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple