delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: G77, libg2c and a linking problem |
Date: | Tue, 19 Sep 2006 15:08:23 +0100 |
Message-ID: | <013601c6dbf5$1175a170$a501a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <Pine.OSF.4.21.0609152328010.29679-100000@ax0rm1.roma1.infn.it> |
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 |
On 15 September 2006 22:52, Angelo Graziosi wrote: > I have applied what you suggested since then and have built happily many > applications with G77, GCC 3.4.4-2 (CERNLIB, ROOT, Emacs-cvs...). > > Now I have discovered these strange linking problems trying to change > somethings in the procedure to build Cernlib and have reproduced that > simple test case. > > In these hours I have found the same behavior on Linux Kubuntu with > G77-3.4.6. Can we then assume that the cernlib build process is doing something unneccessary or unusual or incorrect? > In any case it sound 'strange' that moving '-s' or '-o hello' on command > line changes the result of linking libg2c. Well, add '-v' to the command lines you've been demonstrating, and see what's actually getting passed to the linker. It should all become clear in terms of the linker's requirement that undefined references must always come in objects earlier than the symbols that satisfy those references. 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |