From owner-freebsd-questions@FreeBSD.ORG Wed Apr 6 00:44:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29C731065676 for ; Wed, 6 Apr 2011 00:44:46 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id D81138FC16 for ; Wed, 6 Apr 2011 00:44:45 +0000 (UTC) Received: by vxc34 with SMTP id 34so905159vxc.13 for ; Tue, 05 Apr 2011 17:44:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=yv/AWwYYor8UWKxpXIAWb1RKNOBlBTKaAVr0AIMswPc=; b=BWi/Knzz+4NdERw7oBl0QJE7my0eDZeKsZOKoTw/3T6AyzDWdD7PoQdazpQiRaQVEn X25GBvB3mmuG/k5muXtVCxsyDxYXi++h4Cmi7Kh2lzMS1QPxruqUdBVJ8QfJrggwVke8 tuShZXASg0HQM6hAApNdDaiInJ0k35CA+wNSI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ccL5dVeD9XJhnTHEHt7OhIcxpg8yMOp01bB6MJypwabhy0MB4GMxTmILfoUMIXRMT+ Tk61EpaW3HQY5fhP9/yqoBP4I1fkRGL3Z/c6FqkpPB597U9557flK2zedRiE6FkHMd04 gL9VuuUMXCQC+51msuUcxNVWz0BHlnFOtnR1o= MIME-Version: 1.0 Received: by 10.52.0.130 with SMTP id 2mr545153vde.180.1302050684658; Tue, 05 Apr 2011 17:44:44 -0700 (PDT) Received: by 10.52.162.41 with HTTP; Tue, 5 Apr 2011 17:44:44 -0700 (PDT) In-Reply-To: <34c8bb36e9d888ef838e1841fcda0cd0.squirrel@mail.esfm.ipn.mx> References: <34c8bb36e9d888ef838e1841fcda0cd0.squirrel@mail.esfm.ipn.mx> Date: Tue, 5 Apr 2011 20:44:44 -0400 Message-ID: From: Mehmet Erol Sanliturk To: eduardo.viruena@esfm.ipn.mx Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: f77 in FreeBSD 8.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2011 00:44:46 -0000 On Tue, Apr 5, 2011 at 7:46 PM, Eduardo Viruena Silva < eduardo.viruena@esfm.ipn.mx> wrote: > > Hello, FreeBSD gurus, > > I have noticed that the Fortran Compiler f77 that used to be > in freebsd sources is not longer there in version 8.2-stable, > now it's in the obsolete software list. > > Nevertheless, it has some directories in the sources: > > /usr/src/gnu/usr.bin/cc/f77 > /usr/src/gnu/usr.bin/cc/f77/Makefile > /usr/src/gnu/usr.bin/cc/f771 > /usr/src/gnu/usr.bin/cc/f771/Makefile > /usr/src/gnu/usr.bin/cc/f77doc > /usr/src/gnu/usr.bin/cc/f77doc/Makefile > > > How can I install that compiler? > > The one in the ports does not work as fine as the the one in > the sources. > > > Thanks in advace, > > Eduardo. > > PS. Please answer to my e-mail address, I'm not subscribed to > the list. > > > My answer is NOT related directly to your question , please forgive me . I am using G95 ( from www.g95.org which is in the packages of FreeBSD ) in Windows and Linux , and I like it very much because it generates very good code , especially if the stack traces are enabled in command line , on run time errors it is giving nearly exact source line of the error point with a list of called subroutines chain . Since the G95 is generated from the same sources for the FreeBSD , I think there is no difference between platform related compilers . Another point is ( if your source files have .FOR extension , it is using Fortran 77 , if it is .F90 , it is using the Fortran 95 ( be careful about cases of letters ) . For such points , please read its manual . If any Fortran 77 source file has .F90 extension , it will produce a lot of errors because Fortran 77 is fixed line format based , Fortran 90 or 95 is free line format based . Thank you very much . Mehmet Erol Sanliturk