delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/14/20:31:09

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: CygWin + gcc to build Windows application written in C.
Date: Wed, 14 Dec 2005 19:28:02 -0600
Lines: 39
Message-ID: <dnqgr3$non$1@sea.gmane.org>
References: <004a01c600cd$6985cd30$0300a8c0 AT Piero>
Mime-Version: 1.0
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
In-Reply-To: <004a01c600cd$6985cd30$0300a8c0@Piero>
OpenPGP: url=ldap://keyserver.pgp.com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Piero Silvestri wrote:
[snip]
> and some other Unix-like OS, so I decided to go for Qt, a multiplatform
> library that seems good for my needs. This choice forced me to change my
> compiler, so I decided to use gcc.

You are aware that Qt for Windows installs (optional) the MingW environment
(gcc/g++ compiler, binutils, I expect everything needed to build your own
executables).

[snip]
> - I'm looking for some documentation about -mno-cygwin and -mwindows
> options, which I can't find neither in the gcc on-line manual, nor in
> the gcc man pages, nor in the CygWin manual.

FAQ: http://cygwin.com/faq.html question 9 and probably somewhere else.

> Where they come from? Using
> the first makes the compiler complain about a missing crt2.o (?), the
> last seems to be ignored.

You need to install the mingw libraries and supporting files.

> - I have a mysterious linker error (undefined reference to __imp___iob);
> I searched the web and found some hints about using MinGW under Cygwin,
> but nothing clear or certain; above all, only questions but not answers...

Same as above.

HTH
--=20
Ren=E9 Berber


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