This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: G77, libg2c and a linking problem
- From: Angelo Graziosi <Angelo dot Graziosi at roma1 dot infn dot it>
- To: cygwin at cygwin dot com
- Date: Fri, 15 Sep 2006 23:52:18 +0200 (MET DST)
- Subject: RE: G77, libg2c and a linking problem
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/