Hi there,
I am trying to compile a program and bumping is this problem:
Testing mixed C/Fortran compilation:
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o testp.c.o testp.c
gfortran -O0 -c -o testp.f.o testp.f
gcc -o testp testp.c.o testp.f.o -lgfortran -framework Accelerate
ld: library not found for -lgfortran
collect2: ld returned 1 exit status
./configure: line 1057: ./testp: No such file or directory
WARNING: Unable to compile mixed C/Fortran code.
I do have gfortran and everything else from Fink, 64 bits, Mac OSX 10.6.3.
However I don't understand this:
dpkg -l gfortran-shlibs
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-=============================-=============================-==========================================================================
un gfortran-shlibs <none> (no
description available)
I also know that probably my compilation should call gcc-4, however where's
gcc_select?
Any help helps, thanks a lot in advance,
Alan
--
Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate
Department of Biochemistry, University of Cambridge.
80 Tennis Court Road, Cambridge CB2 1GA, UK.
>>http://www.bio.cam.ac.uk/~awd28<<
------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users