gfortran error

afflictedd2

Registered
Hi guys,

Well now that I downloaded gfortran and I'm trying to install some stuff, I get this error, where for some reason it's looking for a crt0.o file.. anyone know where I can get it.., I understood that it was supposed to be in the /usr/local file.

gfortran -O -static -march=i686 -fno-automatic -fno-second-underscore cshot2.f -o /opt/SU/bin/cshot2 libcshot.a
ld_classic: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status
make[2]: *** [/opt/SU/bin/cshot2] Error 1
make[1]: *** [INSTALL] Error 2
make: *** [finstall] Error 2

Ed.
 
You downloaded gfortran? gfortran should already be installed and ready to go as part of the Development Tools. What exactly are you trying to install?
 
I'm trying to install a Seismic Unix module, that is in fortran.
gfortran was not installed when I got my Mac. If you mean it's in the application cd that came with my apple laptop, then I might try that compiler to see how it works out?
How do I uninstall that gfortran.dmg package, I installed though?
 
Misterme

I'm a little lost though.. I went to the website and I'm looking for that compiler.. but I'm not finding it.. at least not the gfortran, gnu Fortran .. http://guide.apple.com/action.lasso...st_Cat_IDs_result=B077&-maxRecords=10&-search

Also if I click one of the links.. it takes me to an information page.. with NO DOWNLOAD?
http://guide.apple.com/action.lasso...e=/ussearch/detail.html&prodkey=45320&-search

Where am I supposed to download this advertised packages from?

I don't know if you mean the CD.. cause it just tells me to install a bundle of software.. and I already did that before.. and I didn't find a fortran compiler there!
 
Misterme

I'm a little lost though.. ...

I don't know if you mean the CD.. cause it just tells me to install a bundle of software.. and I already did that before.. and I didn't find a fortran compiler there!
The MacOS X Developer Tools ship with every new Mac. They can also be downloaded from the Apple Developer Connection (ADC) website.
 
Back
Top