Thanks for all these good comments.
For the compilation, I am using either gfortran or ifort with -fPIC, so it should work.
Concerning the error checkings, I will test that. In fact the code...
Type: Posts; User: ccox421
Thanks for all these good comments.
For the compilation, I am using either gfortran or ifort with -fPIC, so it should work.
Concerning the error checkings, I will test that. In fact the code...
Hi,
I am posting the interesting part of my code, but I am not sure it will be so easy to read. The code mix fortran and C.
First, the main code is in C, but needs to call fortran procedure....
Hi,
To be more specific, I can give some more explanations:
- I am compiling the program.
- I am then running it.
- The program check if a shared lib which was not loaded exists, and if a...
Hi,
I tried to do that, but unfortunately the problem is still here. Does anybody know if something else has to be done?
Thanks,
Ccox
OK, thanks for the answer.
I had some progress with my program, but a new problem occured:
My shared libs asks for symbols of my static libs, and I get "unresolved symbols". Yet I was thinking my...
Thank you very much, that's what I did.
However I have a problem, when using dlsym:
- I run the program during which a shared lib is enriched with new functions (which are compiled on the fly)
-...
Hi,
I am learning to use dynamic libraries. I thought that it was possible to compile a program with shared libs in which all references are not defined, so that you can load other shared libs...
Nobody?
Hi,
I am developping a code under linux which mixes fortran and gcc, and that I compile with gcc and ifort.
I am used to static libraries (.a), and I am transforming some of my static libraries...
OK, thank you, I will think about all this...
Cheers,
CCox
Hi,
In fact, the fortran libs I want to interface with C contain something like hundreds of .o, containing procedures with identical names for all the libraries.
Even if I understand the...
Many thanks, I will have a try, and also find a way to automate the process.
Cheers,
CCox
Hi,
Thanks for your reply. I'm using gcc 4.X, but I'm not sure to understand what you propose...
Thanks,
CCox
Hi,
I have a problem concerning the names of routines contained in static libraries.
In fact, I have hundreds of libraries written in Fortran, that I need to interface in a unique C program...