- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, all.
I've been compiling Fortran file using UNIX server or my labtop, Mac. Since my commonly used subroutines or functions are in the folder named as subs, I compile it as the below and it have no problem so far.
> gfortran sample.f90 ~/subs/*.* -o sample
A couple of days ago, I installed compiler for Fortran in the desktop. However, I cannot link files in the subs folder,
C:\gofrtran sample.f90 c:\subs\*.* -o sample
it generated the error: c:\subs\*.*: Invalid argument, even though that folder does exist.
Could you let me know how to handle this problem?
All comments would be appreciated.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have posted this in the forum for Intel Fortran (command ifort), but you're using gfortran, part of gcc. I gather that your second attempt was on Windows.
I suggest that you post your question to the comp.lang.fortran Internet newsgroup, as it isn't really appropriate for here.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page