-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Library search path #26
Comments
You are rigth. I try to implement it late in the morning, maybe together
the publishing on PyPi. See you soon.
|
Hi Jacob, I am trying to implement this feature, but I am failing building a working example (I always link libraries with full path). Can you provide examples of commands for liking with -L(-l)? Both GNU gfotran and Intel ifort seem to support the same syntax. For example, let us assume the following setup: ├── build
│ ├── mod
│ └── obj
│ └── cumbersome.o
├── fobos
├── precompiled
│ ├── mod
│ │ └── nested_1.mod
│ └── obj
│ └── first_dep.o
├── README.md
└── src
└── cumbersome.f90 Which commad I should use to build without the full path With both gfortran and ifort I have tried: ifort build/obj/cumbersome.o -Lprecompiled/obj first_dep.o -o build/Cumbersome but I have failed ifort: error #10236: File not found: 'first_dep.o' |
I think it only works for libraries (not
To compile, you would use:
Note that the library is named |
Thanks, I will try it monday. Have a good weekend. |
Dear Jacob, your feature should be implemented. I have pushed the new release on both this github repo and PyPi, thus you can install via I have added some more documentations:
Please, let me know of any bugs you will find. P.S. Now that FoBiS.py is on PyPi I am testing some nice (IMHO) Travis CI "extensions" for Fortran programs... maybe you will interested on that. |
Might be nice if FoBoS supported the gfortran
-L
flag for the library search path. I think currently, you have to include the full path to the libraries used with the-libs
flag, since gfortran doesn't use the include directory when searching for libraries.The text was updated successfully, but these errors were encountered: