Jump to content

goftran sharable object (.dylib?)

1 post in this topic

Recommended Posts


I am interested in making a sharable libraries using a PPC architecture with GCC/GFOTRAN in an x-term environment. What would be the procedure that I would use to make one? Is there a good website that provides a guide for using the x-term console for this? Thanks for any help.


I tried the following:


gfortran -dynamic -fPIC -c -o name.o name.f90

ld -dynamic -o name.dylib name.o


How wrong is this? Also, if I want to include a .c file into the .dylib, how would I go about that?

Link to comment
Share on other sites


  • Create New...