X-Spam-Check-By: sourceware.org Date: Fri, 15 Sep 2006 23:52:18 +0200 (MET DST) From: Angelo Graziosi To: cygwin AT cygwin DOT com Subject: RE: G77, libg2c and a linking problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Dave Korn wrote: > Using your hello world testcase, I found that > > g77 hello.F -o hello > > "just works". Yes, it works. > You don't mention that you've tried this but I assume you > did and it didn't work. So please try the fix I suggested in > http://www.cygwin.com/ml/cygwin/2006-07/msg00620.html 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. In any case it sound 'strange' that moving '-s' or '-o hello' on command line changes the result of linking libg2c. Thanks, Angelo. -- 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/