*BSD News Article 86828


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.cmich.edu!3cqbjoz
From: ishwar rattan <3CQBJOZ@cmuvm.csv.cmich.edu>
Newsgroups: comp.unix.bsd.freebsd.misc,gnu.gcc.help
Subject: Help with g77-0.5.29 for gcc-2.7.2 under FreeBSD-2.1.5
Date: Mon, 27 Jan 1997 15:51:42 EST
Organization: Central Michigan University
Lines: 52
Message-ID: <97027.1551423CQBJOZ@cmuvm.csv.cmich.edu>
NNTP-Posting-Host: cmuvm.csv.cmich.edu
Disclaimer: Author bears full responsibility for this post
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34070 gnu.gcc.help:19072

Hello
 
I tried to build the g77-0.5.19 for gcc-2.7.2 under FreeBSD-2.1.5.
 
1. Cleaned the sources using make distclean
2. Went thorough the patch steps for gbe(no errors reported)
3. Used configure (./configure --prefix=/local/gnu i386-freebsd)
4. make bootstrap
5. make -k install
 
Atinstallation seems to recompile a few things..?
 
An attempt to find the version of g77 (g77 -v) results in the following..
Seems as if it is trying to compile a fortran program!! Also gcc -v
produces the following message
 
Reading specs from /local/gnu/lib/gcc-lib/i386-freebsd/2.7.2.f.1/specs
gcc version 2.7.2.f.1
 
 
Any ideas.
 
Ishwar Rattan
----------------
 /local/gnu/bin/gcc -v -fnull-version -o /var/tmp/gf017858 -xf77-cpp-input
/dev/null -xnone
Reading specs from /local/gnu/lib/gcc-lib/i386-freebsd/2.7.2.f.1/specs
gcc version 2.7.2.f.1
 /local/gnu/lib/gcc-lib/i386-freebsd/2.7.2.f.1/cpp -lang-c -v -undef
-D__GNUC__=2 -D__GNUC_MINOR__=7 -D__unix__ -D__i386__ -D__FreeBSD__ -D__386BSD__
-D__unix -D__i386 -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)
-D_LANGUAGE_FORTRAN -traditional /dev/null /var/tmp/cc017858.i
GNU CPP version 2.7.2.f.1 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /local/gnu/i386-freebsd/include
 /local/gnu/lib/gcc-lib/i386-freebsd/2.7.2.f.1/include
 /usr/include
End of search list.
 /local/gnu/lib/gcc-lib/i386-freebsd/2.7.2.f.1/f771 /var/tmp/cc017858.i
-fset-g77-defaults -quiet -dumpbase null.F -version -fversion -fnull-version -o
/var/tmp/cc017858.s
GNU F77 version 2.7.2.f.1 (80386, BSD syntax) compiled by GNU C version
2.7.2.f.1.
GNU Fortran Front End version 0.5.19 compiled: Jan 27 1997 13:28:37
 /local/gnu/i386-freebsd/bin/as -o /var/tmp/cc0178581.o /var/tmp/cc017858.s
 ld -e start -dc -dp -o /var/tmp/gf017858 /usr/lib/crt0.o
-L/local/gnu/lib/gcc-lib/i386-freebsd/2.7.2.f.1 -L/local/gnu/lib
/var/tmp/cc0178581.o -lgcc -lc -lgcc
/usr/lib/crt0.o: Undefined symbol `_main' referenced from text segment
------