- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page