Search:

Type: Posts; User: ccox421

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    3,325

    Thanks for all these good comments. For the...

    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...
  2. Replies
    11
    Views
    3,325

    Hi, I am posting the interesting part of my...

    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....
  3. Replies
    11
    Views
    3,325

    Hi, To be more specific, I can give some more...

    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...
  4. Replies
    11
    Views
    3,325

    Hi, I tried to do that, but unfortunately the...

    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
  5. Replies
    5
    Views
    2,509

    OK, thanks for the answer. I had some progress...

    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...
  6. Replies
    11
    Views
    3,325

    Thank you very much, that's what I did. ...

    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)
    -...
  7. Replies
    5
    Views
    2,509

    Dynamic libs and undefined references

    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...
  8. Replies
    11
    Views
    3,325

    Nobody?

    Nobody?
  9. Replies
    11
    Views
    3,325

    shared library, but not dynamic !?

    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...
  10. OK, thank you, I will think about all this... ...

    OK, thank you, I will think about all this...

    Cheers,
    CCox
  11. Hi, In fact, the fortran libs I want to...

    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...
  12. Many thanks, I will have a try, and also find a...

    Many thanks, I will have a try, and also find a way to automate the process.

    Cheers,
    CCox
  13. Hi, Thanks for your reply. I'm using gcc 4.X,...

    Hi,

    Thanks for your reply. I'm using gcc 4.X, but I'm not sure to understand what you propose...

    Thanks,
    CCox
  14. Static libraries containing routines with identical names

    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...
Results 1 to 14 of 14