delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/27/16:04:29

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: Tim Prince <tprince AT computer DOT org>
Reply-To: tprince AT computer DOT org
To: "Liu, Wei" <wei DOT liu2 AT boeing DOT com>,
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: Unresolved Symbols in g77 objects
Date: Wed, 27 Mar 2002 13:00:57 -0800
Cc: "Liu, Wei" <wei DOT liu2 AT boeing DOT com>,
"'linda_w AT ix DOT netcom DOT com'" <linda_w AT ix DOT netcom DOT com>
References: <996288BE9AF57B46B4923D20BFD67B05015E2619 AT XCH-SBC-12 DOT sw DOT nos DOT boeing DOT com>
In-Reply-To: <996288BE9AF57B46B4923D20BFD67B05015E2619@XCH-SBC-12.sw.nos.boeing.com>
MIME-Version: 1.0
Message-Id: <20020327210057.DBE8E2CB06@inet1.ywave.com>

On Tuesday 26 March 2002 16:35, Liu, Wei wrote:
> I compiled some fortran files using g77. The compiling flags I used are:
>
>  -fugly-init -ff77 -fugly-complex -ftypeless-boz -fugly-assumed \
>          -fno-silent -fugly-args -fugly-comma -fintrin-case-any \
>          -fmatch-case-any -fno-f2c -w \
>          -fno-underscoring -fno-globals -g -I4 -c
> The version of g77 I used is 2.95.3-5 (gcc used by g77 is same version).
>
> I am trying to link the objects compiled using g77 with the objects
> compiled
>
> with Visual C++. The linker I used is CL (Visual C++ linker).
> I got a few unresolved symbols in the objects created by g77. Those
> symbols definitely are not in my source code but created by g77.
> Here are those symbols:
>
> _s_wsfe
> _do_fio
> __alloca
>
> How can I solve those unresolved symbols?
If you want to link g77 objects without the use of g77 or another 
f2c-compatible library, you must refrain from using any read/write or file 
access.  Apparently, you may need to refrain also from use of automatic 
arrays, which may require a gcc-compatible run time library.

-- 
Tim Prince

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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