delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/13/09:38:03

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <50C9E826.4070107@alice.it>
Date: Thu, 13 Dec 2012 15:37:26 +0100
From: Angelo Graziosi <angelo DOT graziosi AT alice DOT it>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: A linking problem with current GCC (4.5.3)
References: <50C8FC24 DOT 6000308 AT alice DOT it>
In-Reply-To: <50C8FC24.6000308@alice.it>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

V. Zeman wrote:

> If you are targeting native Windows (no Cygwin) then you can use

No..

Anyway the example I reported works with:

g++, gfortran (Cygwin native)

i686-w64-mingw32-gfortran, i686-w64-mingw32-g++ (Windows native)

and, using Cygwin g++-3 or g++-4.3.4, it works also (Cygwin native) with 
g95...

It is with g++-4.5.3 and g95 that there are those liker errors.

G95 is a Fortran compiler ( a fork from GFortran): http://www.g95.org

I don't think it is a GCC-4.5.3 bug but only a different development of 
GCC (I tried also with GCC-4.8) for which now I need to add some other 
library to command line.

I can't test this on other system (GNU/Linux) because the final 
application is a Windows application...

Ciao,
  Angelo.


> i686-w64-mingw32-gfortran and i686-w64-mingw32-g++ as replacements for
> g++ and g95 commands. You will have to install the appropriate MinGW
> related packages, though.



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019