Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

library crt1.10.5.o

Vostok
Beginner
483 Views
I'm trying to compile an absolutely trivial program. Here it is:

program MAIN
print *, "Hello, world"
end program MAIN

When I run
ifort hello.f90
here's what I get:
ld: library not found for -lcrt1.10.5.o

If it matters, I'm running Intel Fortran version 11.0.056 on a Mac running OS X.

What am I doing wrong?
0 Kudos
1 Reply
Vostok
Beginner
483 Views
I found a solution to my own problem. If anyone is interested, I added
-L/Developer/SDKs/MacOSX10.5.sdk/usr/lib
to the set of options for ifort and the program compiled fine.
0 Kudos
Reply