Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Nov 2010 12:01:21 +0000
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        freebsd-questions@freebsd.org
Subject:   static linking with gfortran?
Message-ID:  <20101108120121.GA28919@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
On ia64 -current I'm trying to statically link
against gfortran45 libraries, following from
GCC fortran wiki (http://gcc.gnu.org/wiki/GFortranGettingStarted) :

% gfortran45 -static mach-fort.f90 -o z
% file z
z: ELF 64-bit LSB executable, IA-64, version 1 (SYSV), statically linked, not stripped
% ./z
ELF binary type "0" not known.
./z: Exec format error. Binary file not executable.


What am I missing?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101108120121.GA28919>