* x86_64, libgfortran: unrecognized file format (was: for Daniel)
[not found] <200801062338.m06NcjJ3003948@banach.math.utep.edu>
@ 2008-01-07 20:57 ` Daniel Franke
0 siblings, 0 replies; only message in thread
From: Daniel Franke @ 2008-01-07 20:57 UTC (permalink / raw)
To: fortran; +Cc: Granville Sewell, gcc-help
On Monday 07 January 2008 00:38:45 Granville Sewell wrote:
> Without the -static switch (using gfortran), I get:
>
> /usr/local/gcc-4.2/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.3/../../../.
>./lib64/libgfortran.so: file not recognized: File format not recognized
> collect2: ld returned 1 exit status
You build gcc yourself? How did you configure it (gfortran -v)?
Something seems to be horribly messed up on your side?!
I'm CC-ing gcc-help, maybe someone there has encountered this before.
> There is a libgfortran.a file in the same lib directory, by the way. I
> don't understand the difference between the *.a and *.so libraries.
*.so - shared objects, used for dynamic linking, loaded at runtime
*.a - archives, linked into the binary statically
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-07 0:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200801062338.m06NcjJ3003948@banach.math.utep.edu>
2008-01-07 20:57 ` x86_64, libgfortran: unrecognized file format (was: for Daniel) Daniel Franke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).