RE: G77, libg2c and a linking problem

2006-09-21 Thread Angelo Graziosi
Dave, thanks for your detailed answer. Angelo Dave Korn wrote: http://cygwin.com/ml/cygwin/2006-09/msg00444.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://c

RE: G77, libg2c and a linking problem

2006-09-21 Thread Dave Korn
On 19 September 2006 23:05, Angelo Graziosi wrote: > What would be 'unusual or incorrect' in > > $ cat hello.F > program hello > implicit none > write(*,*) 'Hello!' > end > > (1) > $ g77 hello.F -o hello -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -lg2c > /usr/lib/gcc/i686-pc-cyg

Re: G77, libg2c and a linking problem

2006-09-19 Thread Larry Hall (Cygwin)
Angelo Graziosi wrote: Dave Korn wrote: Can we then assume that the cernlib build process is doing something unneccessary or unusual or incorrect? What would be 'unusual or incorrect' in $ cat hello.F program hello implicit none write(*,*) 'Hello!' end (1) $ g77 hel

RE: G77, libg2c and a linking problem

2006-09-19 Thread Angelo Graziosi
Dave Korn wrote: > Can we then assume that the cernlib build process is doing something > unneccessary or unusual or incorrect? What would be 'unusual or incorrect' in $ cat hello.F program hello implicit none write(*,*) 'Hello!' end (1) $ g77 hello.F -o hello -L/usr/l

RE: G77, libg2c and a linking problem

2006-09-19 Thread Dave Korn
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

RE: G77, libg2c and a linking problem

2006-09-15 Thread Angelo Graziosi
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

RE: G77, libg2c and a linking problem

2006-09-15 Thread Dave Korn
On 15 September 2006 14:05, Angelo Graziosi wrote: >> program hello >> implicit none >> write(*,*) 'Hello!' >> end >> $ g77 hello.F -o hello -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -lg2c >> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):(.text+0xab ): >> u

Re: G77, libg2c and a linking problem

2006-09-15 Thread Angelo Graziosi
I wrote: > I would know if the following is a normal behaviour... > > > program hello > implicit none > write(*,*) 'Hello!' > end > > > $ g77 hello.F -o hello -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -lg2c > /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o)

G77, libg2c and a linking problem

2006-09-15 Thread Angelo Graziosi
I would know if the following is a normal behaviour... program hello implicit none write(*,*) 'Hello!' end $ g77 hello.F -o hello -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -lg2c /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):(.text+0xab): undefined refer