G77, libg2c and a linking problem

Angelo Graziosi Angelo.Graziosi@roma1.infn.it
Fri Sep 15 21:52:00 GMT 2006

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

In any case it sound 'strange' that moving '-s' or '-o hello' on command
line changes the result of linking libg2c.



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/

More information about the Cygwin mailing list