From owner-freebsd-questions Tue Feb 11 23:11:58 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA10883 for questions-outgoing; Tue, 11 Feb 1997 23:11:58 -0800 (PST) Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA10869 for ; Tue, 11 Feb 1997 23:11:53 -0800 (PST) Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by Campino.Informatik.RWTH-Aachen.DE (RBI-Z-5/8.6.12) with ESMTP id IAA02546; Wed, 12 Feb 1997 08:12:02 +0100 (MET) Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.8.4/8.6.9) id IAA28844; Wed, 12 Feb 1997 08:15:57 +0100 (MET) From: Christoph Kukulies Message-Id: <199702120715.IAA28844@gilberto.physik.rwth-aachen.de> Subject: Re: fortran compiler In-Reply-To: from changho nam at "Feb 12, 97 12:17:06 pm" To: chnam@hanul.hangkong.ac.kr (changho nam) Date: Wed, 12 Feb 1997 08:15:54 +0100 (MET) Cc: questions@freebsd.org Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Have anyone used a fortran compiler on FreeBSD ? > Could you help me how to use a fortran compiler ? use f77 (the compiler driver). file: f.f program main write(*,*) 'hello world' end f77 -o f f.f f77 -c f.f produces f.o f77 -o f f.o a.o b.o builds the executable out of several .o files. Learn to use make. For more information of the f77 compiler switches study the f2c man page. > > changho > > > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de