Greetings All,
I am new to the forums here and hoping to find some assistance from folks that have experience with compiling older FORTRAN code on OS X.
I am using the gfortran compiler on Mac OS X 10.9.5 with Xcode version 6.2 and the Xcode command line tools installed. I am performing the compilation and linking from the command line/Terminal (i.e. not using an Xcode project).
Here's what I've got:
Any assistance or input would be greatly appreciated.
All the best
I am new to the forums here and hoping to find some assistance from folks that have experience with compiling older FORTRAN code on OS X.
I am using the gfortran compiler on Mac OS X 10.9.5 with Xcode version 6.2 and the Xcode command line tools installed. I am performing the compilation and linking from the command line/Terminal (i.e. not using an Xcode project).
Here's what I've got:
Code:
gfortran -arch i386 -c couple.f
gfortran -arch i386 -c abortc.f
gfortran -arch i386 -c amat.f
gfortran -arch i386 -c backsub.f
gfortran -arch i386 -c bathy.f
gfortran -arch i386 -c bdf.f
gfortran -arch i386 -c bessj0.f
gfortran -arch i386 -c bessy0.f
gfortran -arch i386 -c bmat.f
gfortran -arch i386 -c botdeps.f
gfortran -arch i386 -c bounds.f
gfortran -arch i386 -c cdfun.f
gfortran -arch i386 -c cdj0.f
gfortran -arch i386 -c cdsrt.f
gfortran -arch i386 -c cdtan.f
gfortran -arch i386 -c cexib.f
gfortran -arch i386 -c cexibd.f
gfortran -arch i386 -c cexiw.f
gfortran -arch i386 -c cexiwb.f
gfortran -arch i386 -c cexiwd.f
gfortran -arch i386 -c chdh.f
gfortran -arch i386 -c choldc.f
gfortran -arch i386 -c cjdj.f
gfortran -arch i386 -c clineqs.f
gfortran -arch i386 -c cpres.f
gfortran -arch i386 -c crscup.f
gfortran -arch i386 -c csds.f
gfortran -arch i386 -c csymeig.f
gfortran -arch i386 -c cupb.f
gfortran -arch i386 -c cupbw.f
gfortran -arch i386 -c cupw.f
gfortran -arch i386 -c cupwb.f
gfortran -arch i386 -c cvmult.f
gfortran -arch i386 -c cwns.f
gfortran -arch i386 -c dreal.f
gfortran -arch i386 -c file.f
gfortran -arch i386 -c foresub.f
gfortran -arch i386 -c egnval.f
gfortran -arch i386 -c galrkn.f
gfortran -arch i386 -c gama0.f
gfortran -arch i386 -c gama00.f
gfortran -arch i386 -c genabc.f
gfortran -arch i386 -c header.f
gfortran -arch i386 -c hk01.f
gfortran -arch i386 -c hk02.f
gfortran -arch i386 -c indep.f
gfortran -arch i386 -c indexx.f
gfortran -arch i386 -c input.f
gfortran -arch i386 -c mgs.f
gfortran -arch i386 -c mmult.f
gfortran -arch i386 -c propm.f
gfortran -arch i386 -c prtmat.f
gfortran -arch i386 -c prttl.f
gfortran -arch i386 -c rcf.f
gfortran -arch i386 -c rwprof.f
gfortran -arch i386 -c tmmult.f
gfortran -arch i386 -c zcexib.f
gfortran -arch i386 -c zcexiw.f
gfortran -arch i386 -o couple couple.o abortc.o amat.o backsub.o bathy.o bdf.o bessj0.o bessy0.o bmat.o botdeps.o bounds.o cdfun.o cdj0.o cdsrt.o cdtan.o cexib.o cexibd.o cexiw.o cexiwb.o cexiwd.o chdh.o choldc.o cjdj.o clineqs.o cpres.o crscup.o csds.o csymeig.o cupb.o cupbw.o cupw.o cupwb.o cvmult.o cwns.o dreal.o file.o foresub.o egnval.o galrkn.o gama0.o gama00.o genabc.o header.o hk01.o hk02.o indep.o indexx.o input.o mgs.o mmult.o propm.o prtmat.o prttl.o rcf.o rwprof.o tmmult.o zcexib.o zcexiw.o
Undefined symbols for architecture i386:
"_date_", referenced from:
_header_ in header.o
"_timer_", referenced from:
_MAIN__ in couple.o
ld: symbol(s) not found for architecture i386
collect2: error: ld returned 1 exit status
make: *** [couple] Error 1
Any assistance or input would be greatly appreciated.
All the best