www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1998/08/02/21:06:36

X-pop3-spooler: POP3MAIL 2.1.0 b 4 980420 -bs-
From: Anand Kolatkar <anandk AT galactose DOT stanford DOT edu>
Message-Id: <199808022106.OAA16376@galactose.stanford.edu>
Subject: Re: pgcc 1.0.3a and intrinsic functions
To: pcg AT goof DOT com (Marc Lehmann)
Date: Sun, 2 Aug 1998 14:06:33 -0700 (PDT)
In-Reply-To: <19980802222250.19133@cerebro.laendle> from "Marc Lehmann" at Aug 2, 98 10:22:51 pm
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Sender: Marc Lehmann <pcg AT goof DOT com>
Status: RO
X-Status: A
Lines: 49

> 
> On Sat, Aug 01, 1998 at 10:46:08PM -0700, Anand Kolatkar wrote:
> > 
> > 	I just compiled and installed the full pgcc 1.0.3a package
> > 	on my Pentium Linux (kernel 2.0.34) machine.  I am using libc
> > 	version 5.4.44. 
> > 
> > 	While I was able to compile a large fortran program with
> > 	fort77 without incident, I am having problems compiling another
> > 	unrelated fortran program.  During the linking process, I get the
> > 	following messages:
> 
> What is fort77? I'm pretty sure its not part of pgcc or egcs. As it outputs
> some warnings (perl?), are you sure it is doing what you want?
> 
> How did you compile the program (compiler arguments)?
> 

	Thanks for responding.  Yes fort77 is a perl wrapper that convert
	fortran to c and feeds that to pgcc.

	However, I have just now tried compiling using g77 (pgcc1.0.3a)
	explicitly.  I used the -c -O1 compiler arguments.

	The result was that the same undefined reference messages were used.
	I used an addition -v argument whe compiling and the results are:

Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnulibc1/pgcc-2.90.29/specs
gcc version pgcc-2.90.29 980515 (egcs-1.0.3 release)
 /usr/local/lib/gcc-lib/i686-pc-linux-gnulibc1/pgcc-2.90.29/f771 molscript.f -fset-g77-defaults -quiet -dumpbase molscript.f -O1 -version -fversion -o /tmp/cca32107.s
GNU F77 version pgcc-2.90.29 980515 (egcs-1.0.3 release) (i686-pc-linux-gnulibc1) compiled by GNU C version pgcc-2.90.29 980515 (egcs-1.0.3 release).
GNU Fortran Front End version 0.5.22-19970929
 as -V -Qy -o molscript.o /tmp/cca32107.s
GNU assembler version 980303 (i586-linux), using BFD version 2.8.1.0.23  

	The last line seems odd. It says that I am using version 980303 
	(i586-linux) as the assembler.  Is that right?  Or should I be using
	a newer version?  I used binutils version 2.8.1.0.23.



<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
        Anand Kolatkar                    	  Stanford University
email: anandk AT galactose DOT stanford DOT edu		Dept. Structural Biology
Lab Phone: (650) 725-4625 or -7866		Fairchild Building D-143
      FAX: (650) 723-8464			Stanford, CA. 94305-5126

	Home Page - http://galactose.stanford.edu/~anandk
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019